]> granicus.if.org Git - php/commitdiff
ws
authorStanislav Malyshev <stas@php.net>
Tue, 2 Sep 2003 10:33:18 +0000 (10:33 +0000)
committerStanislav Malyshev <stas@php.net>
Tue, 2 Sep 2003 10:33:18 +0000 (10:33 +0000)
main/streams.c

index b33d2f0f2a8785738e80fc4747d89f99daf3d29c..2b1ebd39cf72eb50b2cd27765574ef3ca655bd45 100755 (executable)
@@ -2462,7 +2462,7 @@ PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, char
                /* BC with older php scripts and zlib wrapper */
                protocol = "compress.zlib";
                n = 13;
-               if(options & REPORT_ERRORS) {
+               if (options & REPORT_ERRORS) {
                        php_error_docref(NULL TSRMLS_CC, E_WARNING, "Use of \"zlib:\" wrapper is deprecated; please use \"compress.zlib://\" instead.");
                }
        }
@@ -2471,7 +2471,7 @@ PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, char
                if (FAILURE == zend_hash_find(&url_stream_wrappers_hash, (char*)protocol, n, (void**)&wrapper)) {
                        char wrapper_name[32];
 
-                       if(options & REPORT_ERRORS) {
+                       if (options & REPORT_ERRORS) {
                                if (n >= sizeof(wrapper_name))
                                        n = sizeof(wrapper_name) - 1;
                                PHP_STRLCPY(wrapper_name, protocol, sizeof(wrapper_name), n);