summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-06-16 12:29:10 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-06-16 12:29:10 +0200
commit69c60740c42c9a5f4666e1dfc5da0c4e4a4756c7 (patch)
treee2b756e9ea57e79bab154d8485284cab9341cf7b
parent39f4363447961e50cec3eb6baa6df8bb80371860 (diff)
downloadpaccache-69c60740c42c9a5f4666e1dfc5da0c4e4a4756c7.tar.gz
paccache-69c60740c42c9a5f4666e1dfc5da0c4e4a4756c7.tar.zst
be a bit less verbose
-rw-r--r--pacredir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pacredir.c b/pacredir.c
index 11153c9..eb1b24e 100644
--- a/pacredir.c
+++ b/pacredir.c
@@ -392,7 +392,9 @@ static int ahc_echo(void * cls, struct MHD_Connection * connection, const char *
request->http_code = 0;
request->last_modified = 0;
+# if defined DEBUG
write_log(stdout, "Trying %s\n", request->url);
+# endif
if ((error = pthread_create(&tid[req_count], NULL, get_http_code, (void *)request)) != 0)
write_log(stderr, "Could not run thread number %d, errno %d\n", req_count, error);