aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-20 15:42:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-20 15:42:24 +0000
commit5974309d10e2db1bddc49ed6cca2f372bfc739ce (patch)
treebc52e172f318f93e9920f320975de77a7616f636 /lib
parentd00e4a377b4a7c432c15670b9316ceb53a9ad08c (diff)
CURLINFO_RESPONSE_CODE replaces CURLINFO_HTTP_CODE
Diffstat (limited to 'lib')
-rw-r--r--lib/getinfo.c2
1 files changed, 1 insertions, 1 deletions
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: