From 1519582e105414fcbf200580806bce4d248dd1d8 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Wed, 4 Mar 1998 00:10:57 +0000 Subject: [PATCH] move newline in cachemgr output --- src/net_db.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/net_db.cc b/src/net_db.cc index 79a4fd3506..603691cf80 100644 --- a/src/net_db.cc +++ b/src/net_db.cc @@ -1,6 +1,6 @@ /* - * $Id: net_db.cc,v 1.72 1998/03/03 00:31:10 rousskov Exp $ + * $Id: net_db.cc,v 1.73 1998/03/03 17:10:57 wessels Exp $ * * DEBUG: section 37 Network Measurement Database * AUTHOR: Duane Wessels @@ -629,6 +629,7 @@ netdbDump(StoreEntry * sentry) n->hops); for (x = n->hosts; x; x = x->next) storeAppendPrintf(sentry, " %s", x->name); + storeAppendPrintf(sentry, "\n"); p = n->peers; for (j = 0; j < n->n_peers; j++, p++) { storeAppendPrintf(sentry, " %-22.22s %7.1f %5.1f\n", @@ -636,9 +637,6 @@ netdbDump(StoreEntry * sentry) p->rtt, p->hops); } - /* put a new line if no peers */ - if (!n->n_peers) - storeAppendPrintf(sentry, "\n"); } xfree(list); #else -- 2.47.3