diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-05-09 14:21:24 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-05-09 14:21:24 +0100 |
commit | dcd16c5f8b8788d476bf4193701fc61656dfbf14 (patch) | |
tree | 25d115375782068575fdce3c019b0e08741b128b /protocols/jabber/iq.c | |
parent | 5a673f32c7bdf10cec2e0ccabce605ec9c12859e (diff) |
Read group information from Jabber contact lists. The code was already there,
but with a simple typo.
Diffstat (limited to 'protocols/jabber/iq.c')
-rw-r--r-- | protocols/jabber/iq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/iq.c b/protocols/jabber/iq.c index bdedeb08..a5495196 100644 --- a/protocols/jabber/iq.c +++ b/protocols/jabber/iq.c @@ -382,7 +382,7 @@ static xt_status jabber_parse_roster( struct im_connection *ic, struct xt_node * c = query->children; while( ( c = xt_find_node( c, "item" ) ) ) { - struct xt_node *group = xt_find_node( node->children, "group" ); + struct xt_node *group = xt_find_node( c->children, "group" ); char *jid = xt_find_attr( c, "jid" ); char *name = xt_find_attr( c, "name" ); char *sub = xt_find_attr( c, "subscription" ); |