From 01ce1010b42bc1d33547dcdb298b9f84cf7b23b4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 2 Mar 2000 23:01:56 +0000 Subject: renamed some variables and made \r work --- lib/writeout.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'lib') 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; -- cgit v1.2.3