]> granicus.if.org Git - php/commitdiff
RETURN_STRING -> RETURN_STRINGL
authorSterling Hughes <sterling@php.net>
Mon, 10 Sep 2001 00:24:29 +0000 (00:24 +0000)
committerSterling Hughes <sterling@php.net>
Mon, 10 Sep 2001 00:24:29 +0000 (00:24 +0000)
ext/curl/curl.c

index 649632a0546005356a27be30f205dc6646cd24bb..60ae36f1f78bae60eedfea1eec3ad79b4206ee7d 100644 (file)
@@ -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_STRING(ch->err.str, 1);
+       RETURN_STRINGL(ch->err.str, CURL_ERROR_SIZE, 1);
 }
 /* }}} */