summaryrefslogtreecommitdiffstats
path: root/pacredir.c
diff options
context:
space:
mode:
Diffstat (limited to 'pacredir.c')
-rw-r--r--pacredir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacredir.c b/pacredir.c
index ddd3b56..2e049e8 100644
--- a/pacredir.c
+++ b/pacredir.c
@@ -417,7 +417,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)
+ else if (verbose > 0 && request->http_code > 0)
write_log(stderr, "Returned HTTP status code %d for %s\n", request->http_code, request->url);
if (request->http_code == MHD_HTTP_OK &&