mcabber/src/jab_iq.c
changeset 1224 fb0460a3cf4b
parent 1218 ab5de2ed2b7e
child 1254 401639413340
--- a/mcabber/src/jab_iq.c	Thu May 17 10:55:49 2007 +0200
+++ b/mcabber/src/jab_iq.c	Thu May 17 11:40:27 2007 +0200
@@ -849,8 +849,11 @@
   jab_send(jc, iqn->xmldata);
 }
 
-int iqscallback_auth(eviqs *iqp, xmlnode xml_result)
+int iqscallback_auth(eviqs *iqp, xmlnode xml_result, guint iqcontext)
 {
+  if (iqcontext == IQS_CONTEXT_ERROR)
+    return -1;
+
   if (jstate == STATE_GETAUTH) {
     eviqs *iqn;