wez             Thu Dec 23 00:56:50 2004 EDT

  Modified files:              
    /php-src/ext/standard       streamsfuncs.c 
  Log:
  don't crash...
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/streamsfuncs.c?r1=1.46&r2=1.47&ty=u
Index: php-src/ext/standard/streamsfuncs.c
diff -u php-src/ext/standard/streamsfuncs.c:1.46 
php-src/ext/standard/streamsfuncs.c:1.47
--- php-src/ext/standard/streamsfuncs.c:1.46    Mon Dec 13 08:52:01 2004
+++ php-src/ext/standard/streamsfuncs.c Thu Dec 23 00:56:50 2004
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: streamsfuncs.c,v 1.46 2004/12/13 13:52:01 wez Exp $ */
+/* $Id: streamsfuncs.c,v 1.47 2004/12/23 05:56:50 wez Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -250,7 +250,7 @@
 
        if (peername) {
                zval_dtor(peername);
-               ZVAL_STRING(peername, NULL, 0);
+               ZVAL_STRING(peername, "", 0);
        }
 
        if (0 == php_stream_xport_accept(stream, &clistream,

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to