From 72243fc694aea0f3db76715775105efb1fa5e79b Mon Sep 17 00:00:00 2001 From: brian Date: Sat, 15 Jun 2002 08:03:30 +0000 Subject: Remove whitespace at the end of lines. --- usr.sbin/ppp/throughput.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/ppp/throughput.c') 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); } -- cgit v1.1