diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-08-20 15:42:24 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-08-20 15:42:24 +0000 |
commit | 5974309d10e2db1bddc49ed6cca2f372bfc739ce (patch) | |
tree | bc52e172f318f93e9920f320975de77a7616f636 /src/writeenv.c | |
parent | d00e4a377b4a7c432c15670b9316ceb53a9ad08c (diff) | |
download | curl-5974309d10e2db1bddc49ed6cca2f372bfc739ce.tar.gz |
CURLINFO_RESPONSE_CODE replaces CURLINFO_HTTP_CODE
Diffstat (limited to 'src/writeenv.c')
-rw-r--r-- | src/writeenv.c | 2 |
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}, |