projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d48939c
)
Added the forgotten http_code!
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 16 Mar 2000 11:41:56 +0000
(11:41 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 16 Mar 2000 11:41:56 +0000
(11:41 +0000)
lib/writeout.c
patch
|
blob
|
history
diff --git
a/lib/writeout.c
b/lib/writeout.c
index
e0b3172
..
415d9e2
100644
(file)
--- a/
lib/writeout.c
+++ b/
lib/writeout.c
@@
-102,6
+102,9
@@
void WriteOut(struct UrlData *data)
case VAR_EFFECTIVE_URL:
fprintf(stream, "%s", data->url?data->url:"");
break;
+ case VAR_HTTP_CODE:
+ fprintf(stream, "%03d", data->progress.httpcode);
+ break;
case VAR_TOTAL_TIME:
fprintf(stream, "%.3f", data->progress.timespent);
break;