From: Daniel Stenberg Date: Thu, 29 Mar 2001 06:45:04 +0000 (+0000) Subject: Georg Horn's and my fixes to make it compile with 7.7 X-Git-Tag: curl-7_7_1~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34efa74a5943df3f94db1f1d852082f35922f953;p=thirdparty%2Fcurl.git Georg Horn's and my fixes to make it compile with 7.7 --- diff --git a/perl/Curl_easy/easy.xs b/perl/Curl_easy/easy.xs index 1b09b19a0b..c7f19b0265 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; }