fixed json_null => NULL (#1193)

The json_null should be C NULL.
This commit is contained in:
Kim
2017-02-05 07:14:19 +08:00
committed by Max Lv
parent 894eae567c
commit bf14944490
+1 -1
View File
@@ -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.");