From b9b6f4484dd64da2818dd773e826bac5582d818e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 10 Oct 2016 09:44:05 +0200 Subject: verbose output: error -> http status code --- pacredir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pacredir.c b/pacredir.c index 1f8f658..ddd3b56 100644 --- a/pacredir.c +++ b/pacredir.c @@ -418,7 +418,7 @@ static int ahc_echo(void * cls, if (request->http_code == MHD_HTTP_OK) write_log(stdout, "Found: %s (%f sec, modified: %s)\n", request->url, request->time_total, ctime); else if (verbose > 0) - write_log(stderr, "Returned error %d for %s\n", request->http_code, request->url); + write_log(stderr, "Returned HTTP status code %d for %s\n", request->http_code, request->url); if (request->http_code == MHD_HTTP_OK && /* for db files choose the most recent server */ -- cgit v1.2.3-54-g00ecf