aboutsummaryrefslogtreecommitdiff
path: root/src/writeenv.c
diff options
context:
space:
mode:
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},