Mercurial > pidgin
comparison libpurple/protocols/msn/switchboard.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 | 4a099e4d0d09 |
children | 5048651671e1 |
comparison
equal
deleted
inserted
replaced
20419:c2b406b4ccd7 | 20420:8aa5e490dbf7 |
---|---|
82 return; | 82 return; |
83 | 83 |
84 swboard->destroying = TRUE; | 84 swboard->destroying = TRUE; |
85 | 85 |
86 /* If it linked us is because its looking for trouble */ | 86 /* If it linked us is because its looking for trouble */ |
87 if (swboard->slplink != NULL) | 87 while (swboard->slplinks != NULL) |
88 msn_slplink_destroy(swboard->slplink); | 88 msn_slplink_destroy(swboard->slplinks->data); |
89 | 89 |
90 /* Destroy the message queue */ | 90 /* Destroy the message queue */ |
91 while ((msg = g_queue_pop_head(swboard->msg_queue)) != NULL) | 91 while ((msg = g_queue_pop_head(swboard->msg_queue)) != NULL) |
92 { | 92 { |
93 if (swboard->error != MSN_SB_ERROR_NONE) | 93 if (swboard->error != MSN_SB_ERROR_NONE) |