From: Tim Ringenbach <omarvo@ho...> - 2006-08-09 02:59:18
> > +
> + /*
> + * Originally this function used g_slist_append(). I changed
> + * it to use g_slist_prepend() for improved performance.
> + * Ideally the Yahoo! PRPL code would be indifferent to the
> + * order of the key/value pairs, but I don't know if this is
> + * the case for all incoming messages. To be on the safe side
> + * we reverse the list.
> + */
> + pkt->hash = g_slist_reverse(pkt->hash);
Unfortunately, we can't be because certain packages send the same keys
twice. Things like stuff updates for many users when logging in, where
it sends the screenname, then its status, then another screen name and
its status, etc.
Get latest updates about Open Source Projects, Conferences and News.