libpurple/protocols/yahoo/yahoo_packet.c

changeset 19328
8875a4424cb1
parent 17577
c98f95792cbc
child 19573
03c72c532d5a
--- a/libpurple/protocols/yahoo/yahoo_packet.c	Sat Aug 11 13:37:14 2007 +0000
+++ b/libpurple/protocols/yahoo/yahoo_packet.c	Wed Jul 11 15:21:39 2007 +0000
@@ -223,6 +223,11 @@
 	GSList *l = pkt->hash;
 	int pos = 0;
 
+	/* This is only called from one place, and the list is
+	 * always backwards */
+
+	l = g_slist_reverse(l);
+
 	while (l) {
 		struct yahoo_pair *pair = l->data;
 		gchar buf[100];

mercurial