From 5974309d10e2db1bddc49ed6cca2f372bfc739ce Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 20 Aug 2003 15:42:24 +0000 Subject: CURLINFO_RESPONSE_CODE replaces CURLINFO_HTTP_CODE --- lib/getinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/getinfo.c b/lib/getinfo.c index a4b0fa602..29da0dc3c 100644 --- a/lib/getinfo.c +++ b/lib/getinfo.c @@ -103,7 +103,7 @@ CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...) case CURLINFO_EFFECTIVE_URL: *param_charp = data->change.url?data->change.url:(char *)""; break; - case CURLINFO_HTTP_CODE: + case CURLINFO_RESPONSE_CODE: *param_longp = data->info.httpcode; break; case CURLINFO_HTTP_CONNECTCODE: -- cgit v1.2.3