]> granicus.if.org Git - php/commitdiff
Use proper macro to return string with unknown length
authorSascha Schumann <sas@php.net>
Mon, 10 Sep 2001 11:06:15 +0000 (11:06 +0000)
committerSascha Schumann <sas@php.net>
Mon, 10 Sep 2001 11:06:15 +0000 (11:06 +0000)
ext/curl/curl.c

index c6b9585247a5952fa25c90748e524933fd804aee..649632a0546005356a27be30f205dc6646cd24bb 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_STRINGL(ch->err.str, 1);
+       RETURN_STRING(ch->err.str, 1);
 }
 /* }}} */