sbm

simple bandwidth monitor
git clone git://git.2f30.org/sbm.git
Log | Files | Refs | LICENSE

commit 467410cf5970dd0b6e8c7b7c5301ea405cdc0e5f
parent bb21f5158a463cfad0c0640a1a87fb5d29026362
Author: sin <sin@2f30.org>
Date:   Mon Feb 22 14:26:26 +0000

Style fix

Diffstat:
sbm.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sbm.c b/sbm.c @@ -235,8 +235,7 @@ loop(char *ifname, long count, struct timeval *delay) difftxbits = difftxbits * 1000 / tv2ms(&diff); diffrxpps = (rxpps - oldrxpps) * 1000 / tv2ms(&diff); difftxpps = (txpps - txpps) * 1000 / tv2ms(&diff); - print(ifname, diffrxbits, difftxbits, - diffrxpps, difftxpps); + print(ifname, diffrxbits, difftxbits, diffrxpps, difftxpps); oldrxbytes = rxbytes; oldtxbytes = txbytes; oldrxpps = rxpps;