diff -r 19aafbb84554 -r aee12ae11898 libpurple/protocols/jabber/auth.c --- a/libpurple/protocols/jabber/auth.c Fri May 18 01:37:27 2007 +0000 +++ b/libpurple/protocols/jabber/auth.c Fri May 18 01:46:51 2007 +0000 @@ -66,10 +66,10 @@ auth = xmlnode_new("auth"); xmlnode_set_namespace(auth, "urn:ietf:params:xml:ns:xmpp-sasl"); - + xmlnode_set_attrib(auth, "xmlns:ga", "http://www.google.com/talk/protocol/auth"); xmlnode_set_attrib(auth, "ga:client-uses-full-bind-result", "true"); - + response = g_string_new(""); response = g_string_append_len(response, "\0", 1); response = g_string_append(response, js->user->node); @@ -202,7 +202,7 @@ return TRUE; } - + static void auth_pass_cb(JabberStream *js, PurpleRequestFields *fields) { @@ -221,7 +221,7 @@ { if (!auth_pass_generic(js, fields)) return; - + /* Restart our connection */ jabber_auth_start_old(js); } @@ -595,7 +595,7 @@ * to OPTIONAL for this protocol. So, we need to do our own * password prompting here */ - + if (!purple_account_get_password(js->gc->account)) { purple_account_request_password(js->gc->account, G_CALLBACK(auth_old_pass_cb), G_CALLBACK(auth_no_pass_cb), js); return;