diff options
author | des <des@FreeBSD.org> | 2002-10-30 15:01:29 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-10-30 15:01:29 +0000 |
commit | 799d66dac6d56b28434c768d889df83a3543c71f (patch) | |
tree | eb47dbac9267716a313d509f724bb7d815797197 /lib/libfetch | |
parent | 9a4bce7a4b2eacf12bde330fe46bd3907ecabcbf (diff) | |
download | FreeBSD-src-799d66dac6d56b28434c768d889df83a3543c71f.zip FreeBSD-src-799d66dac6d56b28434c768d889df83a3543c71f.tar.gz |
Use __func__ and break a long line.
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 |