aboutsummaryrefslogtreecommitdiff
path: root/src/writeenv.c
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 /src/writeenv.c
parentd00e4a377b4a7c432c15670b9316ceb53a9ad08c (diff)
CURLINFO_RESPONSE_CODE replaces CURLINFO_HTTP_CODE
Diffstat (limited to 'src/writeenv.c')
-rw-r--r--src/writeenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/writeenv.c b/src/writeenv.c
index fefac5a62..8932b5073 100644
--- a/src/writeenv.c
+++ b/src/writeenv.c
@@ -44,7 +44,7 @@ struct
} variables[14] =
{
{"curl_url_effective", CURLINFO_EFFECTIVE_URL, writeenv_STRING},
- {"curl_http_code", CURLINFO_HTTP_CODE, writeenv_LONG},
+ {"curl_http_code", CURLINFO_RESPONSE_CODE, writeenv_LONG},
{"curl_time_total", CURLINFO_TOTAL_TIME, writeenv_DOUBLE},
{"curl_time_namelookup", CURLINFO_NAMELOOKUP_TIME, writeenv_DOUBLE},
{"curl_time_connect", CURLINFO_CONNECT_TIME, writeenv_DOUBLE},