]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
fix a bunch of json syntax issues (issue 380)
authorTobias Oetiker <tobi@oetiker.ch>
Mon, 19 Aug 2013 14:48:11 +0000 (16:48 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Mon, 19 Aug 2013 14:48:11 +0000 (16:48 +0200)
src/rrd_tool.c

index ea80d185a6a2c3e832fe43e6f98a49a7a8d5195d..ddcdccccecc98c535ca1acaa13a64358d99ed0f7 100644 (file)
@@ -737,7 +737,7 @@ int HandleInputLine(
                 printf("  <%s>\n", META_TAG);
             }
             else {
-                printf("{ about: 'RRDtool xport JSON output',\n  meta: {\n");
+                printf("{ \"about\": \"RRDtool xport JSON output\",\n  \"meta\": {\n");
             }