diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-01-04 08:46:18 +0000 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-01-04 08:46:18 +0000 |
commit | 921f6ee9813814baead9a0672af6b42beab654c9 (patch) | |
tree | da4e37cbf66d369f9573f4a53968dc64f2bf1c3a /src/muc-factory.c | |
parent | 558fd89929b0b4dc978f0e02b9f694ab7f93ffb5 (diff) | |
download | telepathy-gabble-921f6ee9813814baead9a0672af6b42beab654c9.tar.gz |
muc-factory: give temporary variables better names
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/muc-factory.c')
-rw-r--r-- | src/muc-factory.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/muc-factory.c b/src/muc-factory.c index f86390b93..c52925ed0 100644 --- a/src/muc-factory.c +++ b/src/muc-factory.c @@ -1417,15 +1417,15 @@ handle_text_channel_request (GabbleMucFactory *self, if (room_id != NULL && room_id[0] != '\0') { const gchar *target_id = tp_handle_inspect (room_handles, room); - gchar *a = NULL; + gchar *target_room = NULL; gboolean ok; /* JIDs that are handles must already be valid. */ - g_assert (gabble_decode_jid (target_id, &a, NULL, NULL)); + g_assert (gabble_decode_jid (target_id, &target_room, NULL, NULL)); - ok = !tp_strdiff (a, room_id); + ok = !tp_strdiff (target_room, room_id); - g_free (a); + g_free (target_room); if (!ok) { @@ -1440,16 +1440,16 @@ handle_text_channel_request (GabbleMucFactory *self, if (server_prop != NULL) { const gchar *target_id = tp_handle_inspect (room_handles, room); - gchar *b = NULL; + gchar *target_server = NULL; gboolean ok = TRUE; /* JIDs that are handles must already be valid. */ - g_assert (gabble_decode_jid (target_id, NULL, &b, NULL)); + g_assert (gabble_decode_jid (target_id, NULL, &target_server, NULL)); - if (b != NULL) - ok = !tp_strdiff (b, server_prop); + if (target_server != NULL) + ok = !tp_strdiff (target_server, server_prop); - g_free (b); + g_free (target_server); if (!ok) { |