summaryrefslogtreecommitdiff
path: root/ext/recode
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-03-21 22:35:02 +0000
committerMarkus Fischer <mfischer@php.net>2002-03-21 22:35:02 +0000
commit1d75089d8bf0349ea56b449e6e9c1ac656bdb859 (patch)
tree1255c6b271aa57c4636221cb33c3fad3f9cb1f5c /ext/recode
parent9772468d37096ea7c5b551b78491c5a597ffdd25 (diff)
downloadphp-git-1d75089d8bf0349ea56b449e6e9c1ac656bdb859.tar.gz
*** empty log message ***
Diffstat (limited to 'ext/recode')
-rw-r--r--ext/recode/recode.c4
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;
}