From: Sebastian Harl Date: Sat, 7 Dec 2013 15:12:23 +0000 (+0100) Subject: store: tojson(): Comma-separate multiple hosts. X-Git-Tag: sysdb-0.1.0~314^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d9740ef0b0b0da5209e440a4d1e8da950f9f8b83;p=sysdb.git store: tojson(): Comma-separate multiple hosts. --- diff --git a/src/core/store.c b/src/core/store.c index 95aaafa..cf4d4a4 100644 --- a/src/core/store.c +++ b/src/core/store.c @@ -537,7 +537,7 @@ sdb_store_tojson(sdb_strbuf_t *buf) } sdb_llist_iter_destroy(svc_iter); - sdb_strbuf_append(buf, "]}"); + sdb_strbuf_append(buf, "]},"); } sdb_strbuf_append(buf, "]}");