changeset 23223:bac674d6dcf5

Use the hashtable of resources here.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 27 May 2008 07:11:38 +0000
parents 01e1468da703
children dbde19256cab e166f9e91d6d
files libpurple/protocols/jabber/buddy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c	Tue May 27 04:11:04 2008 +0000
+++ b/libpurple/protocols/jabber/buddy.c	Tue May 27 07:11:38 2008 +0000
@@ -960,7 +960,7 @@
 		}
 #endif
 	} else {
-		gboolean multiple_resources = jbi->jb->resources && (g_hash_table_size(jbi->jb->resources) > 1);
+		gboolean multiple_resources = jbi->resources && (g_hash_table_size(jbi->resources) > 1);
 
 		for(resources = jbi->jb->resources; resources; resources = resources->next) {
 			char *purdy = NULL;