From 799d66dac6d56b28434c768d889df83a3543c71f Mon Sep 17 00:00:00 2001 From: des Date: Wed, 30 Oct 2002 15:01:29 +0000 Subject: Use __func__ and break a long line. --- lib/libfetch/http.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/libfetch/http.c') 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 -- cgit v1.1