diff libpurple/protocols/sametime/sametime.c @ 26048:25e2ab1fff1d

propagate from branch 'im.pidgin.pidgin' (head dd7a36be12180dba9663c2b740553e89711d7644) to branch 'im.pidgin.pidgin.vv' (head 2149cf9a6d4604f6e78ed9a2bdb0bbc3d6041a36)
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sat, 06 Dec 2008 02:23:20 +0000
parents adf153852bcf f10aba5592c6
children 68f4edb42f39
line wrap: on
line diff
--- a/libpurple/protocols/sametime/sametime.c	Sat Dec 06 02:20:09 2008 +0000
+++ b/libpurple/protocols/sametime/sametime.c	Sat Dec 06 02:23:20 2008 +0000
@@ -4415,7 +4415,7 @@
     res = results->data;
 
   if(!code && res && res->matches) {
-    if(g_list_length(res->matches) == 1) {
+    if(!res->matches->next) {
       struct mwResolveMatch *match = res->matches->data;
       
       /* only one? that might be the right one! */