diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-03-02 23:01:56 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-03-02 23:01:56 +0000 |
commit | 01ce1010b42bc1d33547dcdb298b9f84cf7b23b4 (patch) | |
tree | a7bec3386fc3b8b6c65d6fd0d4886074143f20b9 /lib/writeout.c | |
parent | d4e18e4179f091ea0207ff21a6fc1f59e8dfa402 (diff) |
renamed some variables and made \r work
Diffstat (limited to 'lib/writeout.c')
-rw-r--r-- | lib/writeout.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/writeout.c b/lib/writeout.c index 789ab8cb0..e0b3172cd 100644 --- a/lib/writeout.c +++ b/lib/writeout.c @@ -65,12 +65,12 @@ struct variable { static struct variable replacements[]={ - {"effective_url", VAR_EFFECTIVE_URL}, + {"url_effective", VAR_EFFECTIVE_URL}, {"http_code", VAR_HTTP_CODE}, - {"total_time", VAR_TOTAL_TIME}, - {"namelookup_time", VAR_NAMELOOKUP_TIME}, - {"connect_time", VAR_CONNECT_TIME}, - {"pretransfer_time", VAR_PRETRANSFER_TIME}, + {"time_total", VAR_TOTAL_TIME}, + {"time_namelookup", VAR_NAMELOOKUP_TIME}, + {"time_connect", VAR_CONNECT_TIME}, + {"time_pretransfer", VAR_PRETRANSFER_TIME}, {"size_download", VAR_SIZE_DOWNLOAD}, {"size_upload", VAR_SIZE_UPLOAD}, {"speed_download", VAR_SPEED_DOWNLOAD}, @@ -145,6 +145,9 @@ void WriteOut(struct UrlData *data) } else if('\\' == *ptr) { switch(ptr[1]) { + case 'r': + fputc('\r', stream); + break; case 'n': fputc('\n', stream); break; |