summaryrefslogtreecommitdiff
path: root/ext/curl
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/curl
parent9772468d37096ea7c5b551b78491c5a597ffdd25 (diff)
downloadphp-git-1d75089d8bf0349ea56b449e6e9c1ac656bdb859.tar.gz
*** empty log message ***
Diffstat (limited to 'ext/curl')
-rw-r--r--ext/curl/curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/curl.c b/ext/curl/curl.c
index 82a707139a..83c3739e5b 100644
--- a/ext/curl/curl.c
+++ b/ext/curl/curl.c
@@ -705,7 +705,7 @@ PHP_FUNCTION(curl_setopt)
what = zend_fetch_resource(zvalue TSRMLS_CC, -1, "File-Handle", &type, 1, php_file_le_stream());
ZEND_VERIFY_RESOURCE(what);
- if (!php_stream_cast((php_stream*)what, PHP_STREAM_AS_STDIO, (void*)&fp, REPORT_ERRORS))
+ if (FAILURE == php_stream_cast((php_stream*)what, PHP_STREAM_AS_STDIO, (void*)&fp, REPORT_ERRORS))
RETURN_FALSE;
if (!fp) {
RETURN_FALSE;