[Telepathy-commits] [telepathy-salut/master] Push new stanza at the tail of the queue, so they are popped in the right order later on

Sjoerd Simons sjoerd.simons at collabora.co.uk
Thu Oct 30 12:06:31 PDT 2008


---
 lib/gibber/gibber-xmpp-reader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/gibber/gibber-xmpp-reader.c b/lib/gibber/gibber-xmpp-reader.c
index c073934..e8fbe8d 100644
--- a/lib/gibber/gibber-xmpp-reader.c
+++ b/lib/gibber/gibber-xmpp-reader.c
@@ -369,7 +369,7 @@ _end_element_ns (void *user_data, const xmlChar *localname,
     {
       g_assert (g_queue_get_length (priv->nodes) == 0);
       DEBUG ("Received stanza");
-      g_queue_push_head (priv->stanzas, priv->stanza);
+      g_queue_push_tail (priv->stanzas, priv->stanza);
       priv->stanza = NULL;
       priv->node = NULL;
     }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list