summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-09-07 15:18:40 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-09-07 15:27:05 +0100
commit9ca541ae76b6dc1838f11eaea21d6e284d5d7965 (patch)
tree079f59139471ca28370e933c3e87145b64d647f4
parentc0e658ed4e99555466e5d1c09140f43cb4faf898 (diff)
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 <jonny.lamb@collabora.co.uk>
-rw-r--r--src/connection.c15
1 files 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);