diff options
author | Markus Fischer <mfischer@php.net> | 2002-03-21 22:35:02 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2002-03-21 22:35:02 +0000 |
commit | 1d75089d8bf0349ea56b449e6e9c1ac656bdb859 (patch) | |
tree | 1255c6b271aa57c4636221cb33c3fad3f9cb1f5c /ext/recode | |
parent | 9772468d37096ea7c5b551b78491c5a597ffdd25 (diff) | |
download | php-git-1d75089d8bf0349ea56b449e6e9c1ac656bdb859.tar.gz |
*** empty log message ***
Diffstat (limited to 'ext/recode')
-rw-r--r-- | ext/recode/recode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/recode/recode.c b/ext/recode/recode.c index f502827ef6..048b4f4896 100644 --- a/ext/recode/recode.c +++ b/ext/recode/recode.c @@ -181,7 +181,7 @@ PHP_FUNCTION(recode_file) RETURN_FALSE; } - if (!php_stream_cast(instream, PHP_STREAM_AS_STDIO, (void**)&in_fp, REPORT_ERRORS)) { + if (FAILURE == php_stream_cast(instream, PHP_STREAM_AS_STDIO, (void**)&in_fp, REPORT_ERRORS)) { RETURN_FALSE; } @@ -191,7 +191,7 @@ PHP_FUNCTION(recode_file) php_error(E_WARNING,"Unable to find output file identifier"); RETURN_FALSE; } - if (!php_stream_cast(outstream, PHP_STREAM_AS_STDIO, (void**)&out_fp, REPORT_ERRORS)) { + if (FAILURE == php_stream_cast(outstream, PHP_STREAM_AS_STDIO, (void**)&out_fp, REPORT_ERRORS)) { RETURN_FALSE; } |