From 3879e552d2fc3bcd1b5d590376aaf9735643daaa Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Wed, 13 May 2020 21:47:06 -0700 Subject: DataFromSuperUser should be serialized as boolean, not int --- modules/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/benchmark.c b/modules/benchmark.c index a375a8a8..c8963a4f 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -835,7 +835,7 @@ static gchar *get_benchmark_results(gsize *len) ADD_JSON_VALUE(int, "NumThreads", this_machine->threads); ADD_JSON_VALUE(string, "MachineId", this_machine->mid); ADD_JSON_VALUE(int, "PointerBits", this_machine->ptr_bits); - ADD_JSON_VALUE(int, "DataFromSuperUser", this_machine->is_su_data); + ADD_JSON_VALUE(boolean, "DataFromSuperUser", this_machine->is_su_data); ADD_JSON_VALUE(int, "PhysicalMemoryInMiB", this_machine->memory_phys_MiB); ADD_JSON_VALUE(string, "MemoryTypes", this_machine->ram_types); -- cgit v1.2.3