aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-29 06:45:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-29 06:45:04 +0000
commit34efa74a5943df3f94db1f1d852082f35922f953 (patch)
tree3770585d4e88d7d99b5a48e464f943b9aad7fd98 /perl
parent794d08a72887098db5f2b3249362af641784be64 (diff)
Georg Horn's and my fixes to make it compile with 7.7
Diffstat (limited to 'perl')
-rw-r--r--perl/Curl_easy/easy.xs6
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;
}