summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-10-10 09:44:05 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-10-10 09:44:05 +0200
commitb9b6f4484dd64da2818dd773e826bac5582d818e (patch)
tree15e43f880e1fec11f4fa1c36ed9ac5ae42258b6a
parentbb918dfa9ce306d56f1ca466f2b212dc36ee686a (diff)
downloadpaccache-b9b6f4484dd64da2818dd773e826bac5582d818e.tar.gz
paccache-b9b6f4484dd64da2818dd773e826bac5582d818e.tar.zst
verbose output: error -> http status code
-rw-r--r--pacredir.c2
1 files changed, 1 insertions, 1 deletions
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 */