diff options
author | Christian Hesse <mail@eworm.de> | 2014-04-22 14:02:00 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-04-22 14:02:00 +0200 |
commit | e6008f48020a2eecbf4dda102be98edbc3397083 (patch) | |
tree | 0d8417b6539799524f50e1f60157f2f2698d63fb | |
parent | 5ab1307daf649f8637420d6ce008d38e036544b7 (diff) | |
download | pacredir-e6008f48020a2eecbf4dda102be98edbc3397083.tar.gz pacredir-e6008f48020a2eecbf4dda102be98edbc3397083.tar.zst |
use write_log() instead of printf()
-rw-r--r-- | pacredir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |