CVS update: php3/functions
| From: | ssb | Date: | Thu, 25 Mar 1999 14:11:04 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4759@lists.php.net to get a copy of this message | ||
Date: Thursday March 25, 1999 @ 9:11
Author: ssb
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv14459
Modified Files:
fsock.c
Log Message:
cleanup
Index: php3/functions/fsock.c
diff -c php3/functions/fsock.c:1.92 php3/functions/fsock.c:1.93
*** php3/functions/fsock.c:1.92 Tue Mar 23 07:29:22 1999
--- php3/functions/fsock.c Thu Mar 25 09:11:04 1999
***************
*** 27,33 ****
| Jim Winstead (jimw@php.net) |
+----------------------------------------------------------------------+
*/
! /* $Id: fsock.c,v 1.92 1999/03/23 12:29:22 ssb Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 27,33 ----
| Jim Winstead (jimw@php.net) |
+----------------------------------------------------------------------+
*/
! /* $Id: fsock.c,v 1.93 1999/03/25 14:11:04 ssb Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 95,101 ****
struct php3i_sockbuf *next;
};
! static struct php3i_sockbuf *phpsockbuf = NULL;
static int php3_minit_fsock(INIT_FUNC_ARGS);
static int php3_mshutdown_fsock(void);
--- 95,101 ----
struct php3i_sockbuf *next;
};
! static struct php3i_sockbuf *phpsockbuf;
static int php3_minit_fsock(INIT_FUNC_ARGS);
static int php3_mshutdown_fsock(void);
***************
*** 309,315 ****
sockbuf = tmpsockbuf;
break;
}
! tmpsockbuf++;
}
if (sockbuf) {
--- 309,315 ----
sockbuf = tmpsockbuf;
break;
}
! tmpsockbuf = tmpsockbuf->next;
}
if (sockbuf) {
***************
*** 463,468 ****
--- 463,469 ----
efree(this->readbuf);
efree(this);
}
+ phpsockbuf = NULL;
return SUCCESS;
}
--
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