pidgin: 118c51ed: This doesn't matter, but I think the met...
markdoliner at pidgin.im
markdoliner at pidgin.im
Thu Nov 13 04:05:22 EST 2008
-----------------------------------------------------------------
Revision: 118c51edc92aff77a838cf082de406398e60a0db
Ancestor: 273978c7f7c423ce2e8c088d6078dac589efb5d7
Author: markdoliner at pidgin.im
Date: 2008-11-13T08:46:37
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/118c51edc92aff77a838cf082de406398e60a0db
Modified files:
libpurple/protocols/msn/slplink.c
ChangeLog:
This doesn't matter, but I think the metaphor tends to be that you push
stuff onto the tail and pop stuff from the head
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slplink.c 3001e57782ffd0495606da0325e63d24e84b3341
+++ libpurple/protocols/msn/slplink.c 4b9de0b555bbc531e33c662e6410422a2f2dceb9
@@ -400,7 +400,7 @@ msn_slplink_queue_slpmsg(MsnSlpLink *slp
{
slpmsg->id = slplink->slp_seq_id++;
- g_queue_push_head(slplink->slp_msg_queue, slpmsg);
+ g_queue_push_tail(slplink->slp_msg_queue, slpmsg);
}
void
@@ -417,7 +417,7 @@ msn_slplink_send_queued_slpmsgs(MsnSlpLi
MsnSlpMessage *slpmsg;
/* Send the queued msgs in the order they were created */
- while ((slpmsg = g_queue_pop_tail(slplink->slp_msg_queue)) != NULL)
+ while ((slpmsg = g_queue_pop_head(slplink->slp_msg_queue)) != NULL)
{
msn_slplink_release_slpmsg(slplink, slpmsg);
}
More information about the Commits
mailing list