[axel-commits] r42 - /trunk/text.c

appaji-guest at users.alioth.debian.org appaji-guest at users.alioth.debian.org
Sat Sep 13 05:39:52 UTC 2008


Author: appaji-guest
Date: Sat Sep 13 05:39:52 2008
New Revision: 42

URL: http://svn.debian.org/wsvn/axel/?sc=1&rev=42
Log:
Fix new MB/s display (was actually showing B/s).
Thanks Philipp Hagemeister for noticing and fixing 311089

Modified:
    trunk/text.c

Modified: trunk/text.c
URL: http://svn.debian.org/wsvn/axel/trunk/text.c?rev=42&op=diff
==============================================================================
--- trunk/text.c (original)
+++ trunk/text.c Sat Sep 13 05:39:52 2008
@@ -494,7 +494,7 @@
 	}
 	
 	if(axel->bytes_per_second > 1048576)
-		printf( "] [%6.1fMB/s]", (double) axel->bytes_per_second / 1024*1024 );
+		printf( "] [%6.1fMB/s]", (double) axel->bytes_per_second / (1024*1024) );
 	else if(axel->bytes_per_second > 1024)
 		printf( "] [%6.1fKB/s]", (double) axel->bytes_per_second / 1024 );
 	else




More information about the axel-commits mailing list