Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/roster.c @ 1978:986e514bec97
Fix changeset e6beab22099b (Hermitifier)
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 26 Mar 2011 13:56:41 +0100 |
parents | e45d13074721 |
children | 6febc7d1f760 |
comparison
equal
deleted
inserted
replaced
1977:1d8f9135e000 | 1978:986e514bec97 |
---|---|
1607 if (!(roster_elt->type & ROSTER_TYPE_GROUP)) | 1607 if (!(roster_elt->type & ROSTER_TYPE_GROUP)) |
1608 return; | 1608 return; |
1609 | 1609 |
1610 sl_roster_usrelt = roster_elt->list; | 1610 sl_roster_usrelt = roster_elt->list; |
1611 while (sl_roster_usrelt) { // user list loop | 1611 while (sl_roster_usrelt) { // user list loop |
1612 GSList *next_sl_usrelt; | |
1612 roster_usrelt = (roster*) sl_roster_usrelt->data; | 1613 roster_usrelt = (roster*) sl_roster_usrelt->data; |
1613 | 1614 |
1615 next_sl_usrelt = g_slist_next(sl_roster_usrelt); | |
1614 pfunc(roster_usrelt, param); | 1616 pfunc(roster_usrelt, param); |
1615 sl_roster_usrelt = g_slist_next(sl_roster_usrelt); | 1617 sl_roster_usrelt = next_sl_usrelt; |
1616 } | 1618 } |
1617 } | 1619 } |
1618 | 1620 |
1619 // compl_list(type) | 1621 // compl_list(type) |
1620 // Returns a list of jid's or groups. (For commands completion) | 1622 // Returns a list of jid's or groups. (For commands completion) |