summaryrefslogtreecommitdiffstats
path: root/src/bplist.c
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-01-29 19:26:15 +0100
committerGravatar Jonathan Beck2009-01-29 19:26:15 +0100
commit296a38509d12306e423800ed2c583a94a31eddff (patch)
treeeab14f9e63eb03dc89607a7d4c1aa2ef00046a0f /src/bplist.c
parent8c2751f8c7e696fca895aebfafc7e668f3afe85c (diff)
downloadlibplist-296a38509d12306e423800ed2c583a94a31eddff.tar.gz
libplist-296a38509d12306e423800ed2c583a94a31eddff.tar.bz2
Clean some old stuff.
Diffstat (limited to 'src/bplist.c')
-rw-r--r--src/bplist.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/bplist.c b/src/bplist.c
index 78bbe4a..d05c2e5 100644
--- a/src/bplist.c
+++ b/src/bplist.c
@@ -380,12 +380,6 @@ void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist)
uint64_t root_object = be64dec(trailer + BPLIST_TRL_ROOTOBJ_IDX);
uint64_t offset_table_index = be64dec(trailer + BPLIST_TRL_OFFTAB_IDX);
- log_debug_msg("Offset size: %i\n", offset_size);
- log_debug_msg("Ref size: %i\n", dict_param_size);
- log_debug_msg("Number of objects: %lli\n", num_objects);
- log_debug_msg("Root object index: %lli\n", root_object);
- log_debug_msg("Offset table index: %lli\n", offset_table_index);
-
if (num_objects == 0)
return;
@@ -403,10 +397,8 @@ void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist)
for (i = 0; i < num_objects; i++) {
current_offset = UINT_TO_HOST(offset_table + i * offset_size, offset_size);
- log_debug_msg("parse_nodes: current_offset = %i\n", current_offset);
char *obj = plist_bin + current_offset;
nodeslist[i] = parse_bin_node(obj, dict_param_size, &obj);
- log_debug_msg("parse_nodes: parse_raw_node done\n");
}
//setup children for structured types
@@ -415,12 +407,10 @@ void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist)
for (i = 0; i < num_objects; i++) {
- log_debug_msg("parse_nodes: on node %i\n", i);
plist_data_t data = plist_get_data(nodeslist[i]);
switch (data->type) {
case PLIST_DICT:
- log_debug_msg("parse_nodes: dictionary found\n");
for (j = 0; j < data->length; j++) {
str_i = j * dict_param_size;
str_j = (j + data->length) * dict_param_size;
@@ -450,7 +440,6 @@ void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist)
break;
case PLIST_ARRAY:
- log_debug_msg("parse_nodes: array found\n");
for (j = 0; j < data->length; j++) {
str_j = j * dict_param_size;
index1 = UINT_TO_HOST(data->buff + str_j, dict_param_size);