pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libfetch/files Expand __func__.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71d98066cef3
branches:  trunk
changeset: 538404:71d98066cef3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 07 17:23:37 2008 +0000

description:
Expand __func__.

diffstat:

 net/libfetch/files/http.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 2877c270cfcf -r 71d98066cef3 net/libfetch/files/http.c
--- a/net/libfetch/files/http.c Thu Feb 07 17:20:50 2008 +0000
+++ b/net/libfetch/files/http.c Thu Feb 07 17:23:37 2008 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: http.c,v 1.4 2008/02/07 17:12:12 joerg Exp $   */
+/*     $NetBSD: http.c,v 1.5 2008/02/07 17:23:37 joerg Exp $   */
 /*-
  * Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
  * All rights reserved.
@@ -158,10 +158,10 @@
        if (fetchDebug) {
                io->total += io->chunksize;
                if (io->chunksize == 0)
-                       fprintf(stderr, "%s(): end of last chunk\n", __func__);
+                       fprintf(stderr, "http_new_chunk(): end of last chunk\n");
                else
-                       fprintf(stderr, "%s(): new chunk: %lu (%lu)\n",
-                           __func__, (unsigned long)io->chunksize,
+                       fprintf(stderr, "http_new_chunk(): new chunk: %lu (%lu)\n",
+                           (unsigned long)io->chunksize,
                            (unsigned long)io->total);
        }
 #endif



Home | Main Index | Thread Index | Old Index