summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/throughput.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-06-15 08:03:30 +0000
committerbrian <brian@FreeBSD.org>2002-06-15 08:03:30 +0000
commit72243fc694aea0f3db76715775105efb1fa5e79b (patch)
tree1a5ce3d59f7e248077b816072e04048f10560a99 /usr.sbin/ppp/throughput.c
parent361d0dd8a73326bbaf2681ea73e1e304ecedb470 (diff)
downloadFreeBSD-src-72243fc694aea0f3db76715775105efb1fa5e79b.zip
FreeBSD-src-72243fc694aea0f3db76715775105efb1fa5e79b.tar.gz
Remove whitespace at the end of lines.
Diffstat (limited to 'usr.sbin/ppp/throughput.c')
-rw-r--r--usr.sbin/ppp/throughput.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/throughput.c b/usr.sbin/ppp/throughput.c
index a303d28..b0bb241 100644
--- a/usr.sbin/ppp/throughput.c
+++ b/usr.sbin/ppp/throughput.c
@@ -85,8 +85,8 @@ throughput_uptime(struct pppThroughput *t)
downat = t->downtime ? t->downtime : time(NULL);
if (t->uptime && downat < t->uptime) {
/* Euch ! The clock's gone back ! */
- int i;
-
+ int i;
+
for (i = 0; i < t->SamplePeriod; i++)
t->in.SampleOctets[i] = t->out.SampleOctets[i] = 0;
t->nSample = 0;
@@ -270,7 +270,7 @@ throughput_clear(struct pppThroughput *t, int clear_type, struct prompt *prompt)
t->OctetsIn = t->OctetsOut = 0;
t->downtime = 0;
time(&t->uptime);
- }
+ }
if (clear_type & THROUGHPUT_CURRENT) {
prompt_Printf(prompt, "current cleared (was %6qu bytes/sec in,"
@@ -287,7 +287,7 @@ throughput_clear(struct pppThroughput *t, int clear_type, struct prompt *prompt)
if (last > time_buf && *--last == '\n')
*last = '\0';
prompt_Printf(prompt, "peak cleared (was %6qu bytes/sec on %s)\n",
- t->BestOctetsPerSecond, time_buf);
+ t->BestOctetsPerSecond, time_buf);
t->BestOctetsPerSecond = 0;
time(&t->BestOctetsPerSecondTime);
}
OpenPOWER on IntegriCloud