From: Florian Forster Date: Mon, 27 Jun 2016 10:49:52 +0000 (+0200) Subject: src/oping.c: Actually _comma_ separate output lines. X-Git-Url: https://git.tokkee.org/?p=liboping.git;a=commitdiff_plain;h=48acd61a5c6257cae2df205467caa0a91c2b0d1c src/oping.c: Actually _comma_ separate output lines. --- 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); } }