aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/writeout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/writeout.c b/lib/writeout.c
index e0b3172cd..415d9e2ce 100644
--- 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;