cvs: php4(PHP_4_3) /main network.c
| From: | Ilia Alshanetsky | Date: | Mon, 12 May 2003 04:05:54 +0000 |
| Subject: | cvs: php4(PHP_4_3) /main network.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20843@lists.php.net to get a copy of this message | ||
iliaa Mon May 12 00:05:54 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/main network.c
Log:
ifdef away win32 only variables.
Index: php4/main/network.c
diff -u php4/main/network.c:1.83.2.7 php4/main/network.c:1.83.2.8
--- php4/main/network.c:1.83.2.7 Tue May 6 10:39:31 2003
+++ php4/main/network.c Mon May 12 00:05:54 2003
@@ -16,7 +16,7 @@
| Streams work by Wez Furlong <wez@thebrainroom.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: network.c,v 1.83.2.7 2003/05/06 14:39:31 sas Exp $ */
+/* $Id: network.c,v 1.83.2.8 2003/05/12 04:05:54 iliaa Exp $ */
/*#define DEBUG_MAIN_NETWORK 1*/
@@ -1015,9 +1015,11 @@
static int php_sockop_close(php_stream *stream, int close_handle TSRMLS_DC)
{
php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract;
+#ifdef PHP_WIN32
fd_set wrfds, efds;
int n;
struct timeval timeout;
+#endif
if (close_handle) {
#if HAVE_OPENSSL_EXT