]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
--csv: Don't print spaces in columns.
authorTobias Rittweiler <tobias@teclo.net>
Fri, 25 Dec 2015 11:56:26 +0000 (12:56 +0100)
committerTobias Rittweiler <tobias@teclo.net>
Fri, 25 Dec 2015 12:07:03 +0000 (13:07 +0100)
report.c

index ce720dde8048a64e9c31726054a6f4cb0a936a5b..a96addaebe1c86880f07feb489a19acceee72690 100644 (file)
--- 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");