aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/iq.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2016-03-12 21:10:14 -0300
committerdequis <dx@dxzone.com.ar>2016-03-12 21:10:14 -0300
commitb1d9c06e9c1f5ca9b1490daca75efbdb76190f54 (patch)
treee83a753d50b4cd00ba085b6e68d68f8d5a29bc64 /protocols/jabber/iq.c
parent0843bbedee1cac706b94c7ed01202ebd40c036e2 (diff)
jabber: return XT_ABORT after failed IQ auth attempts
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 8175f139..a001ce8c 100644
--- a/protocols/jabber/iq.c
+++ b/protocols/jabber/iq.c
@@ -233,7 +233,7 @@ static xt_status jabber_do_iq_auth(struct im_connection *ic, struct xt_node *nod
if (!(query = xt_find_node(node->children, "query"))) {
imcb_log(ic, "Warning: Received incomplete IQ packet while authenticating");
imc_logout(ic, FALSE);
- return XT_HANDLED;
+ return XT_ABORT;
}
/* Time to authenticate ourselves! */
@@ -286,7 +286,7 @@ static xt_status jabber_finish_iq_auth(struct im_connection *ic, struct xt_node
if (!(type = xt_find_attr(node, "type"))) {
imcb_log(ic, "Warning: Received incomplete IQ packet while authenticating");
imc_logout(ic, FALSE);
- return XT_HANDLED;
+ return XT_ABORT;
}
if (strcmp(type, "error") == 0) {