Hello Wez,

Thursday, December 23, 2004, 7:02:54 AM, you wrote:

> wez             Thu Dec 23 01:02:54 2004 EDT

>   Modified files:              (Branch: PHP_5_0)
>     /php-src/ext/standard       streamsfuncs.c 
>   Log:
>   MFH: don't crash
  
  
> http://cvs.php.net/diff.php/php-src/ext/standard/streamsfuncs.c?r1=1.35.2.5&r2=1.35.2.6&ty=u
> Index: php-src/ext/standard/streamsfuncs.c
> diff -u php-src/ext/standard/streamsfuncs.c:1.35.2.5
> php-src/ext/standard/streamsfuncs.c:1.35.2.6
> --- php-src/ext/standard/streamsfuncs.c:1.35.2.5        Mon Oct 11 14:32:59 
> 2004
> +++ php-src/ext/standard/streamsfuncs.c Thu Dec 23 01:02:54 2004
> @@ -17,7 +17,7 @@
>   
> +----------------------------------------------------------------------+
>  */
 
> -/* $Id: streamsfuncs.c,v 1.35.2.5 2004/10/11 18:32:59 iliaa Exp $ */
> +/* $Id: streamsfuncs.c,v 1.35.2.6 2004/12/23 06:02:54 wez Exp $ */
 
>  #include "php.h"
>  #include "php_globals.h"
> @@ -217,7 +217,7 @@
 
>         if (peername) {
>                 zval_dtor(peername);
> -               ZVAL_STRING(peername, NULL, 0);
> +               ZVAL_STRING(peername, "", 0);

How can that be ", 0" ?
>         }
 
>         if (0 == php_stream_xport_accept(stream, &clistream,




-- 
Best regards,
 Marcus                            mailto:[EMAIL PROTECTED]

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

Reply via email to