[hackers] [slstatus] Change to fmt_human in netspeeds on OpenBSD || Aaron Marcher
 
commit cbbf59fd3dde3f7cfbdc9807da5f5f42b664cf49
Author:     Aaron Marcher <me_AT_drkhsh.at>
AuthorDate: Tue May 22 12:21:52 2018 +0200
Commit:     Aaron Marcher <me_AT_drkhsh.at>
CommitDate: Tue May 22 12:21:52 2018 +0200
    Change to fmt_human in netspeeds on OpenBSD
    
    Thanks to Hiltjo
diff --git a/components/netspeeds.c b/components/netspeeds.c
index 4332024..3c5dabf 100644
--- a/components/netspeeds.c
+++ b/components/netspeeds.c
_AT_@ -133,7 +133,7 @@
                         return NULL;
                 }
 
-		return fmt_human_2((txbytes - oldtxbytes) * 1000 / interval,
+		return fmt_human((txbytes - oldtxbytes) * 1000 / interval,
                                    1024);
         }
 #endif
Received on Tue May 22 2018 - 12:23:25 CEST
This archive was generated by hypermail 2.3.0
: Tue May 22 2018 - 12:24:37 CEST