Mercurial > pidgin
diff libpurple/protocols/jabber/auth.c @ 16439:08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
| author | Evan Schoenberg <evan.s@dreskin.net> |
|---|---|
| date | Thu, 26 Apr 2007 12:25:49 +0000 |
| parents | c1f2831c1afe |
| children | 3ef6a81a9fba |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c Thu Apr 26 10:49:27 2007 +0000 +++ b/libpurple/protocols/jabber/auth.c Thu Apr 26 12:25:49 2007 +0000 @@ -480,7 +480,9 @@ purple_request_yes_no(js->gc, _("Plaintext Authentication"), _("Plaintext Authentication"), _("This server requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?"), - 2, js->gc->account, allow_plaintext_auth, + 2, + purple_connection_get_account(js->gc), NULL, NULL, + purple_connection_get_account(js->gc), allow_plaintext_auth, disallow_plaintext_auth); return; } @@ -562,7 +564,9 @@ purple_request_yes_no(js->gc, _("Plaintext Authentication"), _("Plaintext Authentication"), _("This server requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?"), - 2, js->gc->account, allow_plaintext_auth, + 2, + purple_connection_get_account(js->gc), NULL, NULL, + purple_connection_get_account(js->gc), allow_plaintext_auth, disallow_plaintext_auth); return; }
