cvs: php-src(PHP_5_2) /main/streams streams.c
| From: | Dmitry Stogov | Date: | Tue, 10 Jul 2007 11:57:34 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /main/streams streams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-45166@lists.php.net to get a copy of this message | ||
dmitry Tue Jul 10 11:57:34 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/main/streams streams.c
Log:
Fixed warning
http://cvs.php.net/viewvc.cgi/php-src/main/streams/streams.c?r1=1.82.2.6.2.14&r2=1.82.2.6.2.15&diff_format=u
Index: php-src/main/streams/streams.c
diff -u php-src/main/streams/streams.c:1.82.2.6.2.14 php-src/main/streams/streams.c:1.82.2.6.2.15
--- php-src/main/streams/streams.c:1.82.2.6.2.14 Mon Jul 9 17:27:23 2007
+++ php-src/main/streams/streams.c Tue Jul 10 11:57:34 2007
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streams.c,v 1.82.2.6.2.14 2007/07/09 17:27:23 dmitry Exp $ */
+/* $Id: streams.c,v 1.82.2.6.2.15 2007/07/10 11:57:34 dmitry Exp $ */
#define _GNU_SOURCE
#include "php.h"
@@ -1609,8 +1609,8 @@
if (wrapperpp && (*wrapperpp)->is_url &&
(options & STREAM_DISABLE_URL_PROTECTION) == 0 &&
(!PG(allow_url_fopen) ||
- ((options & STREAM_OPEN_FOR_INCLUDE) ||
- PG(in_user_include)) && !PG(allow_url_include))) {
+ (((options & STREAM_OPEN_FOR_INCLUDE) ||
+ PG(in_user_include)) && !PG(allow_url_include)))) {
if (options & REPORT_ERRORS) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "URL file-access is disabled in the server
configuration");
}