summaryrefslogtreecommitdiff
path: root/ext/curl/multi.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2014-04-13 18:12:40 -0700
committerStanislav Malyshev <stas@php.net>2014-04-13 18:13:09 -0700
commitf1206aef701c1017a700a134f70e876e9a3754a1 (patch)
tree5be4a12550e33eb2a9b8f0d17d2e0029f1f0084d /ext/curl/multi.c
parent5811610d713471a100a1a7f8ab8e00a1c4b12522 (diff)
parent5558d0db9b88a1975b40d4beb5db863c7d87e3c0 (diff)
downloadphp-git-f1206aef701c1017a700a134f70e876e9a3754a1.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Fix #66562: Consistency bug where curl_multi_getcontent behaves different from curl_exec
Diffstat (limited to 'ext/curl/multi.c')
-rw-r--r--ext/curl/multi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/curl/multi.c b/ext/curl/multi.c
index e5c026a513..9fbea5518f 100644
--- a/ext/curl/multi.c
+++ b/ext/curl/multi.c
@@ -248,6 +248,8 @@ PHP_FUNCTION(curl_multi_getcontent)
smart_str_0(&ch->handlers->write->buf);
RETURN_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 1);
}
+
+ RETURN_EMPTY_STRING();
}
/* }}} */