Changeset 0872bb2 for protocols


Ignore:
Timestamp:
2012-03-10T00:00:25Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
57a65600
Parents:
e371011
Message:

Fix bug that broke MSN-XMPP with confusing error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/sasl.c

    re371011 r0872bb2  
    8484        }
    8585       
     86        want_oauth = set_getbool( &ic->acc->set, "oauth" );
     87       
    8688        mechs = g_string_new( "" );
    8789        c = node->children;
     
    105107        }
    106108       
    107         if( !sup_plain && !sup_digest )
     109        if( !want_oauth && !sup_plain && !sup_digest )
    108110        {
    109111                if( !sup_gtalk && !sup_fb && !sup_ms )
     
    121123        reply = xt_new_node( "auth", NULL, NULL );
    122124        xt_add_attr( reply, "xmlns", XMLNS_SASL );
    123         want_oauth = set_getbool( &ic->acc->set, "oauth" );
    124125       
    125126        if( sup_gtalk && want_oauth )
Note: See TracChangeset for help on using the changeset viewer.