summaryrefslogtreecommitdiff
path: root/ext/curl
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-09-10 00:24:29 +0000
committerSterling Hughes <sterling@php.net>2001-09-10 00:24:29 +0000
commit5830ffeb48021e80b142d41d237d655caa2eced7 (patch)
tree7d32f0aa30a230cf3f5c7fd8c6983d995c081815 /ext/curl
parent7a0347334721fd07e19be854c4ef2869877663c1 (diff)
downloadphp-git-5830ffeb48021e80b142d41d237d655caa2eced7.tar.gz
RETURN_STRING -> RETURN_STRINGL
Diffstat (limited to 'ext/curl')
-rw-r--r--ext/curl/curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/curl.c b/ext/curl/curl.c
index 649632a054..60ae36f1f7 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_STRING(ch->err.str, 1);
+ RETURN_STRINGL(ch->err.str, CURL_ERROR_SIZE, 1);
}
/* }}} */