From bd78878cc3c0bb85316c38f947e3175e0d10ba82 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 20 Aug 2003 15:44:03 +0000 Subject: CURLINFO_RESPONSE_CODE instead of CURLINFO_HTTP_CODE --- docs/libcurl/curl_easy_getinfo.3 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/libcurl/curl_easy_getinfo.3 b/docs/libcurl/curl_easy_getinfo.3 index b1c7adc96..f3473bc3a 100644 --- a/docs/libcurl/curl_easy_getinfo.3 +++ b/docs/libcurl/curl_easy_getinfo.3 @@ -2,7 +2,7 @@ .\" nroff -man [file] .\" $Id$ .\" -.TH curl_easy_getinfo 3 "25 Apr 2002" "libcurl 7.9.7" "libcurl Manual" +.TH curl_easy_getinfo 3 "20 Aug 2003" "libcurl 7.10.8" "libcurl Manual" .SH NAME curl_easy_getinfo - Extract information from a curl session (added in 7.4) .SH SYNOPSIS @@ -25,8 +25,9 @@ These are informations that can be extracted: .B CURLINFO_EFFECTIVE_URL Pass a pointer to a 'char *' to receive the last used effective URL. .TP -.B CURLINFO_HTTP_CODE -Pass a pointer to a long to receive the last received HTTP code. +.B CURLINFO_RESPONSE_CODE +Pass a pointer to a long to receive the last received HTTP or FTP code. This +option was known as CURLINFO_HTTP_CODE in libcurl 7.10.7 and earlier. .TP .B CURLINFO_FILETIME Pass a pointer to a long to receive the remote time of the retrieved -- cgit v1.2.3