comparison 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
comparison
equal deleted inserted replaced
20419:c2b406b4ccd7 20420:8aa5e490dbf7
754 * I didn't want to do this, but MSN 7 is somehow causing us to crash 754 * I didn't want to do this, but MSN 7 is somehow causing us to crash
755 * here, I couldn't reproduce it to debug more, and people are 755 * here, I couldn't reproduce it to debug more, and people are
756 * reporting bugs. Hopefully this doesn't cause more crashes. Stu. 756 * reporting bugs. Hopefully this doesn't cause more crashes. Stu.
757 */ 757 */
758 if (slplink->swboard != NULL) 758 if (slplink->swboard != NULL)
759 slplink->swboard->slplink = slplink; 759 slplink->swboard->slplinks = g_list_prepend(slplink->swboard->slplinks, slplink);
760 else 760 else
761 purple_debug_error("msn", "msn_p2p_msg, swboard is NULL, ouch!\n"); 761 purple_debug_error("msn", "msn_p2p_msg, swboard is NULL, ouch!\n");
762 } 762 }
763 763
764 msn_slplink_process_msg(slplink, msg); 764 msn_slplink_process_msg(slplink, msg);