diff options
Diffstat (limited to 'perl/Curl_easy/easy.xs')
-rw-r--r-- | perl/Curl_easy/easy.xs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/Curl_easy/easy.xs b/perl/Curl_easy/easy.xs index 1b09b19a0..c7f19b026 100644 --- a/perl/Curl_easy/easy.xs +++ b/perl/Curl_easy/easy.xs @@ -252,19 +252,19 @@ CODE: switch (option & CURLINFO_TYPEMASK) { case CURLINFO_STRING: { char * value = (char *)SvPV(ST(2), PL_na); - RETVAL = curl_getinfo(curl, option, &value); + RETVAL = curl_easy_getinfo(curl, option, &value); sv_setpv(ST(2), value); break; } case CURLINFO_LONG: { long value = (long)SvIV(ST(2)); - RETVAL = curl_getinfo(curl, option, &value); + RETVAL = curl_easy_getinfo(curl, option, &value); sv_setiv(ST(2), value); break; } case CURLINFO_DOUBLE: { double value = (double)SvNV(ST(2)); - RETVAL = curl_getinfo(curl, option, &value); + RETVAL = curl_easy_getinfo(curl, option, &value); sv_setnv(ST(2), value); break; } |