projects
/
cascardo
/
hcxmpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow user to change his status, sending a broadcast presence
[cascardo/hcxmpp.git]
/
disco.c
diff --git
a/disco.c
b/disco.c
index
de1b4bc
..
de9a55a
100644
(file)
--- a/
disco.c
+++ b/
disco.c
@@
-43,7
+43,8
@@
hc_xmpp_recv_disco (hc_xmpp_t *xmpp, iks *disco)
iks *c;
for (c = iks_child (iks_child (disco)); c != NULL; c = iks_next (c))
{
- fprintf (stdout, "%s\n", iks_find_attrib (c, "var"));
+ if (!iks_strcmp (iks_name (c), "feature"))
+ fprintf (stdout, "%s\n", iks_find_attrib (c, "var"));
}
}
}