cvs: php-src(PHP_4_3) /main streams.c
| From: | Stanislav Malyshev | Date: | Tue, 02 Sep 2003 10:33:19 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /main streams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-23565@lists.php.net to get a copy of this message | ||
stas Tue Sep 2 06:33:19 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/main streams.c
Log:
ws
Index: php-src/main/streams.c
diff -u php-src/main/streams.c:1.125.2.78 php-src/main/streams.c:1.125.2.79
--- php-src/main/streams.c:1.125.2.78 Tue Sep 2 06:21:02 2003
+++ php-src/main/streams.c Tue Sep 2 06:33:18 2003
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streams.c,v 1.125.2.78 2003/09/02 10:21:02 stas Exp $ */
+/* $Id: streams.c,v 1.125.2.79 2003/09/02 10:33:18 stas Exp $ */
#define _GNU_SOURCE
#include "php.h"
@@ -2462,7 +2462,7 @@
/* 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 @@
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);