From 9ca541ae76b6dc1838f11eaea21d6e284d5d7965 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Wed, 7 Sep 2011 15:18:40 +0100 Subject: connection: stop trying to print data form titles as debug messages Approximately no data forms in entity capabilities have titles set properly anyway, so outputting: (null) (null) was getting dull. Signed-off-by: Jonny Lamb --- src/connection.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/connection.c b/src/connection.c index ed85c153..249d167a 100644 --- a/src/connection.c +++ b/src/connection.c @@ -3363,18 +3363,9 @@ gabble_connection_update_capabilities ( /* now data forms */ if (data_forms->len > 0) { - if (DEBUGGING) - { - guint j; - - DEBUG ("client %s contributes data forms:", client_name); - - for (j = 0; j < data_forms->len; j++) - { - WockyDataForm *form = g_ptr_array_index (data_forms, j); - DEBUG (" %s", wocky_data_form_get_title (form)); - } - } + DEBUG ("client %s contributes %u data form%s", client_name, + data_forms->len, + data_forms->len > 1 ? "s" : ""); g_hash_table_insert (self->priv->client_data_forms, g_strdup (client_name), data_forms); -- cgit v1.2.3