diff options
author | Christian Hesse <mail@eworm.de> | 2013-11-12 19:02:12 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-11-12 19:02:12 +0100 |
commit | f14c35065b7d1d181c05f22b698fa14c78c1086b (patch) | |
tree | 42960f96262f3b2ef4a5e0385cf9cd079c8aee39 | |
parent | 996f405aaaecd3fdbb19537115190cdfd21f598d (diff) | |
download | paccache-f14c35065b7d1d181c05f22b698fa14c78c1086b.tar.gz paccache-f14c35065b7d1d181c05f22b698fa14c78c1086b.tar.zst |
print number of failed servers
-rw-r--r-- | pacredir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -419,7 +419,7 @@ static int ahc_echo(void * cls, struct MHD_Connection * connection, const char * ret = MHD_queue_response(connection, MHD_HTTP_TEMPORARY_REDIRECT, response); free(url); } else { - write_log(stdout, "File %s not found, giving up.\n", basename); + write_log(stdout, "File %s not found on %d servers, giving up.\n", basename, req_count + 1); page = malloc(strlen(PAGE404) + strlen(basename) + 1); sprintf(page, PAGE404, basename + 1); response = MHD_create_response_from_data(strlen(page), (void*) page, MHD_NO, MHD_NO); |