Skip to content

Commit 203ea6c

Browse files
author
Sterling Hughes
committed
# I think i am quite stupid.
1 parent 2f8fa8c commit 203ea6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/curl/curl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ PHP_FUNCTION(curl_exec)
834834
if (ch->handlers->write->method == PHP_CURL_RETURN) {
835835
if (ch->handlers->write->type != PHP_CURL_BINARY)
836836
smart_str_0(&ch->handlers->write->buf);
837-
RETURN_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 1);
837+
RETVAL_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 1);
838838
smart_str_free(&ch->handlers->write->buf);
839839
}
840840

0 commit comments

Comments
 (0)