aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-05-09 14:21:24 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-05-09 14:21:24 +0100
commitdcd16c5f8b8788d476bf4193701fc61656dfbf14 (patch)
tree25d115375782068575fdce3c019b0e08741b128b
parent5a673f32c7bdf10cec2e0ccabce605ec9c12859e (diff)
Read group information from Jabber contact lists. The code was already there,
but with a simple typo.
-rw-r--r--protocols/jabber/iq.c2
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" );