Mercurial > pidgin
diff libpurple/protocols/msn/slplink.c @ 24401:bceefbae1ca6
Reame msn_slplink_unleash to msn_slplink_send_queued_slpmsgs, which I
think is more descriptive
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 13 Nov 2008 08:45:40 +0000 |
parents | b27908701f66 |
children | b9e09053e53a |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c Thu Nov 13 08:26:12 2008 +0000 +++ b/libpurple/protocols/msn/slplink.c Thu Nov 13 08:45:40 2008 +0000 @@ -412,12 +412,11 @@ } void -msn_slplink_unleash(MsnSlpLink *slplink) +msn_slplink_send_queued_slpmsgs(MsnSlpLink *slplink) { MsnSlpMessage *slpmsg; - /* Send the queued msgs in the order they came. */ - + /* Send the queued msgs in the order they were created */ while ((slpmsg = g_queue_pop_tail(slplink->slp_msg_queue)) != NULL) { msn_slplink_release_slpmsg(slplink, slpmsg); @@ -635,7 +634,7 @@ /* Release all the messages and send the ACK */ msn_slplink_send_ack(slplink, msg); - msn_slplink_unleash(slplink); + msn_slplink_send_queued_slpmsgs(slplink); } msn_slpmsg_destroy(slpmsg);