Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/yahoo_packet.c @ 25541:411b5a604a17
propagate from branch 'im.pidgin.pidgin' (head cb5420b4b28888af9a419d6ca29f524e552c9cf0)
to branch 'im.pidgin.pidgin.yaz' (head 2fb9c50de147c3e10a2bb579beca0cf90ab363d0)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 14 Aug 2007 07:13:22 +0000 |
parents | 67ad619bd97f b775a0bff96c |
children | 5e76304ebcc8 |
comparison
equal
deleted
inserted
replaced
25540:d892a9275d0d | 25541:411b5a604a17 |
---|---|
225 void yahoo_packet_write(struct yahoo_packet *pkt, guchar *data) | 225 void yahoo_packet_write(struct yahoo_packet *pkt, guchar *data) |
226 { | 226 { |
227 GSList *l = pkt->hash; | 227 GSList *l = pkt->hash; |
228 int pos = 0; | 228 int pos = 0; |
229 | 229 |
230 /* This is only called from one place, and the list is | |
231 * always backwards */ | |
232 | |
233 l = g_slist_reverse(l); | |
234 | |
230 while (l) { | 235 while (l) { |
231 struct yahoo_pair *pair = l->data; | 236 struct yahoo_pair *pair = l->data; |
232 gchar buf[100]; | 237 gchar buf[100]; |
233 | 238 |
234 g_snprintf(buf, sizeof(buf), "%d", pair->key); | 239 g_snprintf(buf, sizeof(buf), "%d", pair->key); |