From 1c65d69485a7bf7f3a2e2137d58b44f5c51f29e0 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Tue, 2 Sep 2003 10:33:18 +0000 Subject: [PATCH] ws --- main/streams.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/streams.c b/main/streams.c index b33d2f0f2a..2b1ebd39cf 100755 --- a/main/streams.c +++ b/main/streams.c @@ -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); -- 2.50.1