From 34efa74a5943df3f94db1f1d852082f35922f953 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 29 Mar 2001 06:45:04 +0000 Subject: [PATCH] Georg Horn's and my fixes to make it compile with 7.7 --- perl/Curl_easy/easy.xs | 6 +++--- 1 file 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; }