Mercurial > pidgin
diff libpurple/protocols/jabber/auth.c @ 17121:ff7dea1672b3
disapproval of revision '1e0f6c89bdf3a21258ac4f64039122a909ac67cc'
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 18 May 2007 01:46:51 +0000 |
parents | 97a98ceb5c06 |
children | 5033139b3ead |
line wrap: on
line diff
--- 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;