Code

src/oping.c: Actually _comma_ separate output lines.
authorFlorian Forster <ff@octo.it>
Mon, 27 Jun 2016 10:49:52 +0000 (12:49 +0200)
committerFlorian Forster <ff@octo.it>
Mon, 27 Jun 2016 10:49:52 +0000 (12:49 +0200)
src/oping.c

index e3bbffc7e66559986d16c12c0df42411e3013023..3e114f574acfbacae5026a258ba2f17d91aaa014 100644 (file)
@@ -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);
                }
        }