diff options
author | Sascha Schumann <sas@php.net> | 2001-09-10 11:06:15 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2001-09-10 11:06:15 +0000 |
commit | d5e22e2a295b205b7aa54d1ff461054757acd090 (patch) | |
tree | d9fcc61eb3c70900d340f94662b22fb10ba6aa34 | |
parent | 21b9a2ca2a99432e31bb8eba62ce57b4db0ebbc4 (diff) | |
download | php-git-d5e22e2a295b205b7aa54d1ff461054757acd090.tar.gz |
Use proper macro to return string with unknown length
-rw-r--r-- | ext/curl/curl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /* }}} */ |