comparison libpurple/protocols/msn/switchboard.c @ 30448:911ca152210c

Remove old code that was commented out, but is really just not necessary.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 19 Apr 2010 08:05:55 +0000
parents 119bd7b072eb
children 31f20c9c7674
comparison
equal deleted inserted replaced
30447:e7d298d270bc 30448:911ca152210c
86 if (swboard->reconn_timeout_h > 0) 86 if (swboard->reconn_timeout_h > 0)
87 purple_timeout_remove(swboard->reconn_timeout_h); 87 purple_timeout_remove(swboard->reconn_timeout_h);
88 88
89 /* If it linked us is because its looking for trouble */ 89 /* If it linked us is because its looking for trouble */
90 while (swboard->slplinks != NULL) { 90 while (swboard->slplinks != NULL) {
91 MsnSlpLink *slplink = swboard->slplinks->data;
92
91 /* Destroy only those slplinks which use the switchboard */ 93 /* Destroy only those slplinks which use the switchboard */
92 MsnSlpLink *slplink = swboard->slplinks->data;
93
94 if (slplink->dc == NULL) 94 if (slplink->dc == NULL)
95 msn_slplink_destroy(slplink); 95 msn_slplink_destroy(slplink);
96 else { 96 else {
97 swboard->slplinks = g_list_remove(swboard->slplinks, slplink); 97 swboard->slplinks = g_list_remove(swboard->slplinks, slplink);
98 slplink->swboard = NULL; 98 slplink->swboard = NULL;