changeset 12936:0f3122ce84db

[gaim-migrate @ 15289] I'm dumb and didn't test this. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 19 Jan 2006 04:23:44 +0000
parents d9c53c5f5912
children 6a2668fb293f
files src/protocols/jabber/si.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/si.c	Thu Jan 19 03:43:30 2006 +0000
+++ b/src/protocols/jabber/si.c	Thu Jan 19 04:23:44 2006 +0000
@@ -638,7 +638,7 @@
 
 		/* XXX: for now, send to the first resource available */
 		if(g_list_length(jb->resources) >= 1) {
-			char **who_v = g_strsplit(xfer->who, "/");
+			char **who_v = g_strsplit(xfer->who, "/", 2);
 			char *who;
 
 			jbr = jabber_buddy_find_resource(jb, NULL);