Use proper macro to return string with unknown length

This commit is contained in:
Sascha Schumann 2001-09-10 11:06:15 +00:00
parent 21b9a2ca2a
commit d5e22e2a29

View 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);
}
/* }}} */