From e6008f48020a2eecbf4dda102be98edbc3397083 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 22 Apr 2014 14:02:00 +0200 Subject: use write_log() instead of printf() --- pacredir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3-54-g00ecf