fixed json output for pilerstats

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2018-02-17 17:44:06 +01:00
parent 6003e08060
commit ce0bd526a6

View File

@ -103,7 +103,7 @@ int main(int argc, char **argv){
close_database(&sdata);
printf("{\n\trcvd=%llu,\n\tsize=%llu,\n\tssize=%llu,\n\tsphx=%llu\n}\n", rcvd, size, ssize, sphx);
printf("{\n\t\"rcvd\": %llu,\n\t\"size\": %llu,\n\t\"ssize\": %llu,\n\t\"sphx\": %llu\n}\n", rcvd, size, ssize, sphx);
return 0;
}