summaryrefslogtreecommitdiff
path: root/ext/curl/multi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/curl/multi.c')
-rw-r--r--ext/curl/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/multi.c b/ext/curl/multi.c
index 0cd4ae2761..240580cbcd 100644
--- a/ext/curl/multi.c
+++ b/ext/curl/multi.c
@@ -264,7 +264,7 @@ PHP_FUNCTION(curl_multi_getcontent)
RETURN_EMPTY_STRING();
}
smart_str_0(&ch->handlers->write->buf);
- RETURN_STR(zend_string_copy(ch->handlers->write->buf.s));
+ RETURN_STR_COPY(ch->handlers->write->buf.s);
}
RETURN_NULL();