CVS update: php3/functions

From: Date: Sat, 13 Mar 1999 13:25:38 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-4599@lists.php.net to get a copy of this message
Date: Saturday March 13, 1999 @ 8:25 Author: sas Update of /repository/php3/functions In directory asf:/u/temp/cvs-serv20038 Modified Files: fsock.c Log Message: fix for #1224 Index: php3/functions/fsock.c diff -c php3/functions/fsock.c:1.85 php3/functions/fsock.c:1.86 *** php3/functions/fsock.c:1.85 Sat Feb 27 12:04:46 1999 --- php3/functions/fsock.c Sat Mar 13 08:25:38 1999 *************** *** 27,33 **** | Jim Winstead (jimw@php.net) | +----------------------------------------------------------------------+ */ ! /* $Id: fsock.c,v 1.85 1999/02/27 17:04:46 sas Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif --- 27,33 ---- | Jim Winstead (jimw@php.net) | +----------------------------------------------------------------------+ */ ! /* $Id: fsock.c,v 1.86 1999/03/13 13:25:38 sas Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif *************** *** 70,76 **** extern int le_fp; #endif ! #define FREE_SOCK efree(sock); if (key) efree(key) #if WIN32|WINNT #define EWOULDBLOCK WSAEWOULDBLOCK --- 70,76 ---- extern int le_fp; #endif ! #define FREE_SOCK if(socketd >= 0) close(socketd); efree(sock); if (key) efree(key) #if WIN32|WINNT #define EWOULDBLOCK WSAEWOULDBLOCK *************** *** 142,148 **** pval *args[4]; int *sock=emalloc(sizeof(int)); int *sockp; ! int id, socketd, arg_count=ARG_COUNT(ht); unsigned short portno; char *key = NULL; TLS_VARS; --- 142,149 ---- pval *args[4]; int *sock=emalloc(sizeof(int)); int *sockp; ! int id, arg_count=ARG_COUNT(ht); ! int socketd = -1; unsigned short portno; char *key = NULL; TLS_VARS; -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4599) next »