Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/auth.c @ 29264:c64b22932ffa
Cyrus may not have anything (yet) if it's waiting for a callback or something.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 13 Jan 2010 03:13:26 +0000 |
parents | b94fd073187c |
children | 9f59abd49def |
comparison
equal
deleted
inserted
replaced
29262:b8d97cf37200 | 29264:c64b22932ffa |
---|---|
483 | 483 |
484 if (js->auth_mech && js->auth_mech->handle_failure) { | 484 if (js->auth_mech && js->auth_mech->handle_failure) { |
485 xmlnode *stanza = NULL; | 485 xmlnode *stanza = NULL; |
486 JabberSaslState state = js->auth_mech->handle_failure(js, packet, &stanza, &msg); | 486 JabberSaslState state = js->auth_mech->handle_failure(js, packet, &stanza, &msg); |
487 | 487 |
488 if (state != JABBER_SASL_STATE_FAIL && stanza) { | 488 if (state != JABBER_SASL_STATE_FAIL) { |
489 jabber_send(js, stanza); | 489 if (stanza) { |
490 xmlnode_free(stanza); | 490 jabber_send(js, stanza); |
491 xmlnode_free(stanza); | |
492 } | |
493 | |
491 return; | 494 return; |
492 } | 495 } |
493 } | 496 } |
494 | 497 |
495 if (!msg) | 498 if (!msg) |