mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
Added the forgotten http_code!
This commit is contained in:
parent
d48939c0c0
commit
739b3f241d
@ -102,6 +102,9 @@ void WriteOut(struct UrlData *data)
|
|||||||
case VAR_EFFECTIVE_URL:
|
case VAR_EFFECTIVE_URL:
|
||||||
fprintf(stream, "%s", data->url?data->url:"");
|
fprintf(stream, "%s", data->url?data->url:"");
|
||||||
break;
|
break;
|
||||||
|
case VAR_HTTP_CODE:
|
||||||
|
fprintf(stream, "%03d", data->progress.httpcode);
|
||||||
|
break;
|
||||||
case VAR_TOTAL_TIME:
|
case VAR_TOTAL_TIME:
|
||||||
fprintf(stream, "%.3f", data->progress.timespent);
|
fprintf(stream, "%.3f", data->progress.timespent);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user