]> granicus.if.org Git - php/commitdiff
Compiler warning fix.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 4 Mar 2003 16:20:24 +0000 (16:20 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 4 Mar 2003 16:20:24 +0000 (16:20 +0000)
main/streams.c

index d709e3e024c0baaae34968acebdb2f152fb6a8c6..60ff2954b39991d9d7ef786ef53b3ef45e19fd6b 100755 (executable)
@@ -2208,7 +2208,7 @@ static php_stream *php_plain_files_stream_opener(php_stream_wrapper *wrapper, ch
                return php_stream_fopen_with_path_rel(path, mode, PG(include_path), opened_path, options);
        }
 
-       if ((options & STREAM_DISABLE_OPEN_BASEDIR == 0) && php_check_open_basedir(path TSRMLS_CC)) {
+       if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir(path TSRMLS_CC)) {
                return NULL;
        }