wez Tue May 25 09:00:25 2004 EDT
Modified files:
/php-src/main/streams plain_wrapper.c
Log:
check if it matches... not if it doesn't...
http://cvs.php.net/diff.php/php-src/main/streams/plain_wrapper.c?r1=1.36&r2=1.37&ty=u
Index: php-src/main/streams/plain_wrapper.c
diff -u php-src/main/streams/plain_wrapper.c:1.36
php-src/main/streams/plain_wrapper.c:1.37
--- php-src/main/streams/plain_wrapper.c:1.36 Tue May 25 08:59:15 2004
+++ php-src/main/streams/plain_wrapper.c Tue May 25 09:00:25 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: plain_wrapper.c,v 1.36 2004/05/25 12:59:15 wez Exp $ */
+/* $Id: plain_wrapper.c,v 1.37 2004/05/25 13:00:25 wez Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -429,7 +429,7 @@
}
} else if (data->fd != -1) {
#ifdef DEBUG
- if (data->fd == 2 && strcmp(sapi_module.name, "cli")) {
+ if (data->fd == 2 && 0 == strcmp(sapi_module.name, "cli")) {
/* don't close stderr in CLI in DEBUG mode, as we want
to see any leaks */
ret = 0;
} else {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php