# HG changeset patch # User Mark Doliner # Date 1226565997 0 # Node ID b9e09053e53a962a89ee226191d21ef43e033750 # Parent bceefbae1ca6695792b484f7ce0ae47f9ddaa012 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 diff -r bceefbae1ca6 -r b9e09053e53a libpurple/protocols/msn/slplink.c --- a/libpurple/protocols/msn/slplink.c Thu Nov 13 08:45:40 2008 +0000 +++ b/libpurple/protocols/msn/slplink.c Thu Nov 13 08:46:37 2008 +0000 @@ -400,7 +400,7 @@ { 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 @@ 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); }