diff options
author | Wez Furlong <wez@php.net> | 2004-05-25 13:00:25 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2004-05-25 13:00:25 +0000 |
commit | 146255f35c7bea85985776cdd748d423fc47c762 (patch) | |
tree | 88b158a65796efab5463d76f86b7e7653deaf0ad /main/streams/plain_wrapper.c | |
parent | c6dff79138f5e399ee4de1d9f22d02f41b9d5c0c (diff) | |
download | php-git-146255f35c7bea85985776cdd748d423fc47c762.tar.gz |
check if it matches... not if it doesn't...
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r-- | main/streams/plain_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 9a4027ec9a..b161f9fb1f 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -429,7 +429,7 @@ static int php_stdiop_close(php_stream *stream, int close_handle TSRMLS_DC) } } 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 { |