comparison src/protocols/jabber/auth.c @ 12520:d85c2bfb2ea2

[gaim-migrate @ 14832] Fix a warning. Everyone should be using --enable-debug. ;) committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 17 Dec 2005 05:25:03 +0000
parents 5cfc53ead482
children b0ba132271a9
comparison
equal deleted inserted replaced
12519:e63a80be5227 12520:d85c2bfb2ea2
725 if(!ns || strcmp(ns, "urn:ietf:params:xml:ns:xmpp-sasl")) { 725 if(!ns || strcmp(ns, "urn:ietf:params:xml:ns:xmpp-sasl")) {
726 gaim_connection_error(js->gc, _("Invalid response from server.")); 726 gaim_connection_error(js->gc, _("Invalid response from server."));
727 return; 727 return;
728 } 728 }
729 729
730 #if HAVE_CYRUS_SASL 730 #ifdef HAVE_CYRUS_SASL
731 /* The SASL docs say that if the client hasn't returned OK yet, we 731 /* The SASL docs say that if the client hasn't returned OK yet, we
732 * should try one more round against it 732 * should try one more round against it
733 */ 733 */
734 if (js->sasl_state != SASL_OK) { 734 if (js->sasl_state != SASL_OK) {
735 js->sasl_state = sasl_client_step(js->sasl, NULL, 0, NULL, NULL, NULL); 735 js->sasl_state = sasl_client_step(js->sasl, NULL, 0, NULL, NULL, NULL);