Don't display an extraneous ``: '' with some packets in/packets out diagnostics

This commit is contained in:
Brian Somers 2002-04-16 23:57:21 +00:00
parent ff360cc91b
commit 7e1c2e33be
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94895

View File

@ -141,7 +141,7 @@ throughput_log(struct pppThroughput *t, int level, const char *title)
log_Printf(level, "%s%sConnect time: %d secs: %llu octets in, %llu octets"
" out\n", title, *title ? ": " : "", secs_up, t->OctetsIn,
t->OctetsOut);
log_Printf(level, "%s%s: %llu packets in, %llu packets out\n",
log_Printf(level, "%s%s%llu packets in, %llu packets out\n",
title, *title ? ": " : "", t->PacketsIn, t->PacketsOut);
if (secs_up == 0)
secs_up = 1;