aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-04-22 14:02:00 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-04-22 14:02:00 +0200
commite6008f48020a2eecbf4dda102be98edbc3397083 (patch)
tree0d8417b6539799524f50e1f60157f2f2698d63fb
parent5ab1307daf649f8637420d6ce008d38e036544b7 (diff)
downloadpacredir-e6008f48020a2eecbf4dda102be98edbc3397083.tar.gz
pacredir-e6008f48020a2eecbf4dda102be98edbc3397083.tar.zst
use write_log() instead of printf()
-rw-r--r--pacredir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacredir.c b/pacredir.c
index 50b72c8..cee1bdb 100644
--- a/pacredir.c
+++ b/pacredir.c
@@ -407,7 +407,7 @@ static int ahc_echo(void * cls, struct MHD_Connection * connection, const char *
request = requests[i];
if (request->http_code == MHD_HTTP_OK)
- printf("Found: %s (%f sec)\n", request->url, request->time_total);
+ write_log(stdout, "Found: %s (%f sec)\n", request->url, request->time_total);
if (request->http_code == MHD_HTTP_OK &&
/* for db files choose the most recent server */