diff libpurple/protocols/msn/slplink.c @ 24402:b9e09053e53a

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
author Mark Doliner <mark@kingant.net>
date Thu, 13 Nov 2008 08:46:37 +0000
parents bceefbae1ca6
children 89cb1c13036e
line wrap: on
line diff
--- 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);
 	}