aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/iq.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/iq.c')
-rw-r--r--protocols/jabber/iq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/jabber/iq.c b/protocols/jabber/iq.c
index 22f97b2a..e3c77d3d 100644
--- a/protocols/jabber/iq.c
+++ b/protocols/jabber/iq.c
@@ -744,7 +744,7 @@ xt_status jabber_iq_parse_server_features( struct im_connection *ic, struct xt_n
c = c->next;
}
}
- else if( xmlns, XMLNS_DISCO_INFO ) == 0 )
+ else if( strcmp( xmlns, XMLNS_DISCO_INFO ) == 0 )
{
char *category, *type;
@@ -763,7 +763,7 @@ xt_status jabber_iq_parse_server_features( struct im_connection *ic, struct xt_n
c = c->next;
}
}
- else if( xmlns, XMLNS_BYTESTREAMS ) == 0 )
+ else if( strcmp( xmlns, XMLNS_BYTESTREAMS ) == 0 )
{
char *host, *jid, *port_s;
int port;