diff options
Diffstat (limited to 'lib/libfetch')
-rw-r--r-- | lib/libfetch/http.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c index 02ccce3..f28e2ea 100644 --- a/lib/libfetch/http.c +++ b/lib/libfetch/http.c @@ -152,12 +152,11 @@ _http_new_chunk(struct httpio *io) if (fetchDebug) { io->total += io->chunksize; if (io->chunksize == 0) - fprintf(stderr, "_http_fillbuf(): " - "end of last chunk\n"); + fprintf(stderr, "%s(): end of last chunk\n", __func__); else - fprintf(stderr, "_http_fillbuf(): " - "new chunk: %lu (%lu)\n", - (unsigned long)io->chunksize, (unsigned long)io->total); + fprintf(stderr, "%s(): new chunk: %lu (%lu)\n", + __func__, (unsigned long)io->chunksize, + (unsigned long)io->total); } #endif |