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.");