cvs: php-src /main/streams streams.c

From: Date: Wed, 11 Jul 2007 14:32:54 +0000
Subject: cvs: php-src /main/streams streams.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-45235@lists.php.net to get a copy of this message
dmitry Wed Jul 11 14:32:54 2007 UTC Modified files: /php-src/main/streams streams.c Log: Fixed wrong warning http://cvs.php.net/viewvc.cgi/php-src/main/streams/streams.c?r1=1.152&r2=1.153&diff_format=u Index: php-src/main/streams/streams.c diff -u php-src/main/streams/streams.c:1.152 php-src/main/streams/streams.c:1.153 --- php-src/main/streams/streams.c:1.152 Tue Jul 3 10:22:55 2007 +++ php-src/main/streams/streams.c Wed Jul 11 14:32:54 2007 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streams.c,v 1.152 2007/07/03 10:22:55 dmitry Exp $ */ +/* $Id: streams.c,v 1.153 2007/07/11 14:32:54 dmitry Exp $ */ #define _GNU_SOURCE #include "php.h" @@ -2113,7 +2113,7 @@ #ifdef PHP_WIN32 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/' && path[n+4] != ':') { #else - if (localhost == 0 && path[n+3] != '/') { + if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/') { #endif if (options & REPORT_ERRORS) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "remote host file access not supported, %s", path);

« previous php.cvs (#45235) next »