/pidgin/main: 6f6de16b4044: Fix build with Cyrus SASL
Tomasz Wasilczyk
twasilczyk at pidgin.im
Tue Nov 5 12:52:46 EST 2013
Changeset: 6f6de16b4044d1b5d06ae5d8043924ed9d865564
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2013-11-05 18:52 +0100
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/6f6de16b4044
Description:
Fix build with Cyrus SASL
diffstat:
libpurple/protocols/jabber/auth.c | 4 +++-
libpurple/protocols/jabber/auth_cyrus.c | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (28 lines):
diff --git a/libpurple/protocols/jabber/auth.c b/libpurple/protocols/jabber/auth.c
--- a/libpurple/protocols/jabber/auth.c
+++ b/libpurple/protocols/jabber/auth.c
@@ -103,7 +103,9 @@ auth_old_pass_cb(PurpleConnection *gc, P
if (!entry || !*entry)
{
- purple_notify_error(account, NULL, _("Password is required to sign on."), NULL);
+ purple_notify_error(account, NULL,
+ _("Password is required to sign on."), NULL,
+ purple_request_cpar_from_connection(gc));
return;
}
diff --git a/libpurple/protocols/jabber/auth_cyrus.c b/libpurple/protocols/jabber/auth_cyrus.c
--- a/libpurple/protocols/jabber/auth_cyrus.c
+++ b/libpurple/protocols/jabber/auth_cyrus.c
@@ -145,7 +145,9 @@ static void auth_pass_cb(PurpleConnectio
if (!entry || !*entry)
{
- purple_notify_error(account, NULL, _("Password is required to sign on."), NULL);
+ purple_notify_error(account, NULL,
+ _("Password is required to sign on."), NULL,
+ purple_request_cpar_from_connection(gc));
return;
}
More information about the Commits
mailing list