diff libpurple/protocols/msn/slp.c @ 20420:8aa5e490dbf7

switchboards really can be referenced by multiple slplinks, I have no idea why this GList was replaced with a single slplink in msnp14 but it's possible that it was causing some problems. References #1142
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 20 May 2007 16:30:39 +0000
parents c2b406b4ccd7
children 642f08c49042
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c	Sun May 20 15:59:10 2007 +0000
+++ b/libpurple/protocols/msn/slp.c	Sun May 20 16:30:39 2007 +0000
@@ -756,7 +756,7 @@
 		 * reporting bugs. Hopefully this doesn't cause more crashes. Stu.
 		 */
 		if (slplink->swboard != NULL)
-			slplink->swboard->slplink = slplink;
+			slplink->swboard->slplinks = g_list_prepend(slplink->swboard->slplinks, slplink);
 		else
 			purple_debug_error("msn", "msn_p2p_msg, swboard is NULL, ouch!\n");
 	}