diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-07-31 12:04:01 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-08-19 10:29:48 +0100 |
commit | 90489957962c9d926458772f5c92100287278b87 (patch) | |
tree | 63b77731be7a26aa49c652105b3147dabd57f2cc /src/search-channel.c | |
parent | 8206e283ff32a78feabb25ed89a48be822c1ac3f (diff) | |
download | telepathy-gabble-90489957962c9d926458772f5c92100287278b87.tar.gz |
emit_search_result: display the keys that have been ignored
Diffstat (limited to 'src/search-channel.c')
-rw-r--r-- | src/search-channel.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/search-channel.c b/src/search-channel.c index 8c87d205d..eb1a02155 100644 --- a/src/search-channel.c +++ b/src/search-channel.c @@ -518,7 +518,16 @@ emit_search_result (GabbleSearchChannel *chan, } if (g_hash_table_size (info_map) > 0) - DEBUG ("<item> contained fields we don't understand; ignoring them"); + { + GHashTableIter iter; + gpointer key; + + DEBUG ("<item> contained fields we don't understand; ignoring them:"); + + g_hash_table_iter_init (&iter, info_map); + while (g_hash_table_iter_next (&iter, &key, NULL)) + DEBUG ("\t- %s has been ignored", (gchar *) key); + } gabble_svc_channel_type_contact_search_emit_search_result_received (chan, h, info); |