Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/si.c @ 25801:6f94b4a27372
propagate from branch 'im.pidgin.pidgin' (head f1327672337219c8907eea2d335efb0035e4b39e)
to branch 'im.pidgin.cpw.malu.xmpp.idle' (head 6bfd4d87742ad77dd228039033d081fb8b68f8aa)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 02 Dec 2008 22:45:39 +0000 |
parents | f10aba5592c6 |
children | 61e0924de04a c974d4453f12 a063901a5499 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/si.c Tue Dec 02 22:45:25 2008 +0000 +++ b/libpurple/protocols/jabber/si.c Tue Dec 02 22:45:39 2008 +0000 @@ -1085,7 +1085,7 @@ purple_notify_error(jsx->js->gc, _("File Send Failed"), _("File Send Failed"), msg); g_free(msg); - } else if(g_list_length(jb->resources) == 1) { + } else if(!jb->resources->next) { /* only 1 resource online (probably our most common case) * so no need to ask who to send to */ jbr = jb->resources->data;