diff options
author | Christian Hesse <mail@eworm.de> | 2016-10-10 09:44:05 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2016-10-10 09:44:05 +0200 |
commit | b9b6f4484dd64da2818dd773e826bac5582d818e (patch) | |
tree | 15e43f880e1fec11f4fa1c36ed9ac5ae42258b6a | |
parent | bb918dfa9ce306d56f1ca466f2b212dc36ee686a (diff) | |
download | pacredir-b9b6f4484dd64da2818dd773e826bac5582d818e.tar.gz pacredir-b9b6f4484dd64da2818dd773e826bac5582d818e.tar.zst |
verbose output: error -> http status code
-rw-r--r-- | pacredir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |