From 716483e02a88fa7d3594645df398f193c4bb51d3 Mon Sep 17 00:00:00 2001 From: Tobias Rittweiler Date: Fri, 25 Dec 2015 12:56:26 +0100 Subject: [PATCH] --csv: Don't print spaces in columns. --- report.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/report.c b/report.c index ce720dd..a96adda 100644 --- a/report.c +++ b/report.c @@ -365,9 +365,9 @@ void csv_close(time_t now) /* 1000.0 is a temporay hack for stats usec to ms, impacted net_loss. */ if( index( data_fields[j].format, 'f' ) ) { - printf( ", %.2f", data_fields[j].net_xxx(at) / 1000.0); + printf( ",%.2f", data_fields[j].net_xxx(at) / 1000.0); } else { - printf( ", %d", data_fields[j].net_xxx(at) ); + printf( ",%d", data_fields[j].net_xxx(at) ); } } printf("\n"); -- 2.47.2