comparison libpurple/protocols/jabber/auth.c @ 22532:49deb72ffdc1

Discussion is in progress on pidgin-devel about the preference to enable/disable GSSAPI, but upon reflection it should, if it exists at all, default to TRUE. Making it do so for the time being.
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 20 Mar 2008 08:42:15 +0000
parents aed6cbd18a3b
children 23fe481afccf
comparison
equal deleted inserted replaced
22531:c66dd9db3b09 22532:49deb72ffdc1
490 { 490 {
491 char *mech_name = xmlnode_get_data(mechnode); 491 char *mech_name = xmlnode_get_data(mechnode);
492 #ifdef HAVE_CYRUS_SASL 492 #ifdef HAVE_CYRUS_SASL
493 /* Skip the GSSAPI mechanism unless it's enabled for this account */ 493 /* Skip the GSSAPI mechanism unless it's enabled for this account */
494 if (mech_name && !strcmp(mech_name, "GSSAPI") && 494 if (mech_name && !strcmp(mech_name, "GSSAPI") &&
495 !purple_account_get_bool(js->gc->account, "auth_gssapi", FALSE)) { 495 !purple_account_get_bool(js->gc->account, "auth_gssapi", TRUE)) {
496 continue; 496 continue;
497 } 497 }
498 498
499 g_string_append(js->sasl_mechs, mech_name); 499 g_string_append(js->sasl_mechs, mech_name);
500 g_string_append_c(js->sasl_mechs, ' '); 500 g_string_append_c(js->sasl_mechs, ' ');