From 1d75089d8bf0349ea56b449e6e9c1ac656bdb859 Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Thu, 21 Mar 2002 22:35:02 +0000 Subject: *** empty log message *** --- ext/recode/recode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/recode/recode.c') 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; } -- cgit v1.2.1