From 48acd61a5c6257cae2df205467caa0a91c2b0d1c Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 27 Jun 2016 12:49:52 +0200 Subject: [PATCH] src/oping.c: Actually _comma_ separate output lines. --- src/oping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oping.c b/src/oping.c index e3bbffc..3e114f5 100644 --- a/src/oping.c +++ b/src/oping.c @@ -1611,7 +1611,7 @@ static void update_host_hook (pingobj_iter_t *iter, /* {{{ */ if ((sequence % 32) == 0) fprintf (outfile, "#time,host,latency[ms]\n"); - fprintf (outfile, "%.3f \"%s\" %.2f\n", t, context->host, latency); + fprintf (outfile, "%.3f,\"%s\",%.2f\n", t, context->host, latency); } } -- 2.30.2