Package: axel
Version: 2.4-1

In char *size_human() which converts -int- bytes to human friendly output,
there is a typo. This is pretty obvious.

Patch below:
--- text.c      2009-04-27 10:19:03.000000000 -0400
+++ text_new.c  2009-06-14 17:05:43.000000000 -0400
@@ -439,7 +439,7 @@
                sprintf( string, _("%lld byte"), value );
        else if( value < 1024 )
                sprintf( string, _("%lld bytes"), value );
-       else if( value < 10485760 )
+       else if( value < 1048576 )
                sprintf( string, _("%.1f kilobytes"), (float) value / 1024
);
        else
                sprintf( string, _("%.1f megabytes"), (float) value /
1048576 );

Reply via email to