From bf1494449098f558de5f5698c8042fa245fbd73e Mon Sep 17 00:00:00 2001 From: Kim Date: Sun, 5 Feb 2017 07:14:19 +0800 Subject: [PATCH] fixed json_null => NULL (#1193) The json_null should be C NULL. --- src/jconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jconf.c b/src/jconf.c index 4f9d3371..3e3c772d 100644 --- a/src/jconf.c +++ b/src/jconf.c @@ -46,7 +46,7 @@ to_string(const json_value *value) } else if (value->type == json_integer) { return strdup(ss_itoa(value->u.integer)); } else if (value->type == json_null) { - return "null"; + return NULL; } else { LOGE("%d", value->type); FATAL("Invalid config format.");