summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-11-09 08:20:31 +0000
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-11-09 10:06:43 +0000
commitbdf5c1535079d7f69e8b0d50def2bf0acd2a7d1a (patch)
tree2bcb287c3aa9fb25f6da8beeaab4ab517ba7ee30
parented197893f4e303276480649330b9c362c60f6442 (diff)
connection: fix typo when indexing pointer array using wrong counter
D'oh! Fixes: fd.o#42706 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--src/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.c b/src/connection.c
index 606e398fb..bc2fa94ba 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -3481,7 +3481,7 @@ gabble_connection_update_capabilities (
data_forms->len > 1 ? "s" : "");
for (j = 0; j < data_forms->len; j++)
- DEBUG (" - %s", get_form_type (g_ptr_array_index (data_forms, i)));
+ DEBUG (" - %s", get_form_type (g_ptr_array_index (data_forms, j)));
g_hash_table_insert (self->priv->client_data_forms,
g_strdup (client_name), data_forms);