X-Git-Url: http://sjero.net/git/?p=iperf;a=blobdiff_plain;f=src%2Fstdio.c;fp=src%2Fstdio.c;h=c6bc00390ba40654c17b86b72e22b1929e863f34;hp=96782f79d0b4b0df283fb06a49cd0c9eb3b782a1;hb=90fc1e2c0c74319759b21d4a177c32691b88fdf3;hpb=fad82d47d76abc8f4ac6767e58b89859ad35a2ca diff --git a/src/stdio.c b/src/stdio.c index 96782f7..c6bc003 100644 --- a/src/stdio.c +++ b/src/stdio.c @@ -238,7 +238,7 @@ void byte_snprintf( char* outString, int inLen, } else if ( inNum < 99.95 ) { /* 99.95 would be rounded to 100 */ format = "%4.1f %s"; /* ##.# */ } else if ( inNum < 999.5 ) { /* 999.5 would be rounded to 1000 */ - format = " %4.0f %s"; /* ### */ + format = "%4.0f %s"; /* ### */ } else { /* 1000-1024 fits in 4 places * If not using Adaptive sizes then * this code will not control spaces*/