Merge branch '2.4'

This commit is contained in:
Petri Lehtinen
2013-04-15 08:49:47 +03:00
2 changed files with 24 additions and 0 deletions

View File

@@ -174,6 +174,9 @@ static int object_key_compare_serials(const void *key1, const void *key2)
static int do_dump(const json_t *json, size_t flags, int depth,
json_dump_callback_t dump, void *data)
{
if(!json)
return -1;
switch(json_typeof(json)) {
case JSON_NULL:
return dump("null", 4, data);