From: Sascha Schumann Date: Mon, 10 Sep 2001 11:06:15 +0000 (+0000) Subject: Use proper macro to return string with unknown length X-Git-Tag: PRE_SUBST_Z_MACROS~134 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5e22e2a295b205b7aa54d1ff461054757acd090;p=php Use proper macro to return string with unknown length --- diff --git a/ext/curl/curl.c b/ext/curl/curl.c index c6b9585247..649632a054 100644 --- a/ext/curl/curl.c +++ b/ext/curl/curl.c @@ -961,7 +961,7 @@ PHP_FUNCTION(curl_error) ZEND_FETCH_RESOURCE(ch, php_curl *, zid, -1, le_curl_name, le_curl); ch->err.str[CURL_ERROR_SIZE] = 0; - RETURN_STRINGL(ch->err.str, 1); + RETURN_STRING(ch->err.str, 1); } /* }}} */