mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
fix.
This commit is contained in:
parent
94e6db966b
commit
dd3a7680ca
1 changed files with 1 additions and 1 deletions
|
@ -825,7 +825,7 @@ PHP_FUNCTION(curl_exec)
|
||||||
|
|
||||||
error = curl_easy_perform(ch->cp);
|
error = curl_easy_perform(ch->cp);
|
||||||
if (error != CURLE_OK) {
|
if (error != CURLE_OK) {
|
||||||
if (ch->handlers->write->buf)
|
if (ch->handlers->write->buf.c)
|
||||||
smart_str_free(&ch->handlers->write->buf);
|
smart_str_free(&ch->handlers->write->buf);
|
||||||
SAVE_CURL_ERROR(ch, error);
|
SAVE_CURL_ERROR(ch, error);
|
||||||
RETURN_FALSE;
|
RETURN_FALSE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue