diff options
author | Antony Dovgal <tony2001@php.net> | 2006-09-15 15:33:14 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-09-15 15:33:14 +0000 |
commit | fcf4f87919c1f76b69044e2ab233281b9d476ec6 (patch) | |
tree | fc4d60f50d35577dc84bf4e5fa4734299de49537 /ext/curl/streams.c | |
parent | fe9d3b16c53988ba8055d10ede8fef4473da9f80 (diff) | |
download | php-git-fcf4f87919c1f76b69044e2ab233281b9d476ec6.tar.gz |
still output an error, even if there is no curl_easy_strerror()
Diffstat (limited to 'ext/curl/streams.c')
-rw-r--r-- | ext/curl/streams.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/curl/streams.c b/ext/curl/streams.c index dd7fcd94a9..c021d6eb0c 100644 --- a/ext/curl/streams.c +++ b/ext/curl/streams.c @@ -447,6 +447,8 @@ php_stream *php_curl_stream_opener(php_stream_wrapper *wrapper, char *filename, } else { #if HAVE_CURL_EASY_STRERROR php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", curl_easy_strerror(msg->data.result)); +#else + php_error_docref(NULL TSRMLS_CC, E_WARNING, "There was an error mcode=%d", msg->data.result); #endif msg_found++; } |