aboutsummaryrefslogtreecommitdiffstats
path: root/pacredir.c
diff options
context:
space:
mode:
Diffstat (limited to 'pacredir.c')
-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);