diff options
author | Wim Taymans <wtaymans@redhat.com> | 2019-11-04 17:25:20 +0100 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2019-11-04 17:30:33 +0100 |
commit | 6397db9d6807fa7504b6aff8ef8b65ca24145be8 (patch) | |
tree | f3a427a260e334da6d60ff2e0759f2c63a87d963 /spa | |
parent | 085f1822b9f07c4f4ff815b109332908e5e68f37 (diff) |
protocol: init spa_dict properly
Or else the flags might be wrong.
Diffstat (limited to 'spa')
-rw-r--r-- | spa/include/spa/debug/dict.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spa/include/spa/debug/dict.h b/spa/include/spa/debug/dict.h index 94fc59a2..47a1aac0 100644 --- a/spa/include/spa/debug/dict.h +++ b/spa/include/spa/debug/dict.h @@ -38,6 +38,7 @@ extern "C" { static inline int spa_debug_dict(int indent, const struct spa_dict *dict) { const struct spa_dict_item *item; + spa_debug("%*s flags:%08x n_items:%d", indent, "", dict->flags, dict->n_items); spa_dict_for_each(item, dict) { spa_debug("%*s%s = \"%s\"", indent, "", item->key, item->value); } |