Commit c18c9d08 authored by Jonathan Beck's avatar Jonathan Beck

Fix boolean length in binary parsing

parent a32dc0f6
......@@ -271,6 +271,7 @@ static plist_t parse_bin_node(char *object, uint8_t dict_size, char **next_objec
plist_data_t data = plist_new_plist_data();
data->type = PLIST_BOOLEAN;
data->boolval = TRUE;
data->length = 1;
return g_node_new(data);
}
......@@ -279,6 +280,7 @@ static plist_t parse_bin_node(char *object, uint8_t dict_size, char **next_objec
plist_data_t data = plist_new_plist_data();
data->type = PLIST_BOOLEAN;
data->boolval = FALSE;
data->length = 1;
return g_node_new(data);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment