diff options
Diffstat (limited to 'mail/session.c')
-rw-r--r-- | mail/session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/session.c b/mail/session.c index 508ea80ed3..6fd85712e4 100644 --- a/mail/session.c +++ b/mail/session.c @@ -11,6 +11,7 @@ #include "mail.h" #include "mail-session.h" #include "mail-threads.h" +#include "mail-mt.h" CamelSession *session; @@ -55,7 +56,7 @@ mail_session_request_dialog (const char *prompt, gboolean secret, const char *ke ans == NULL) return NULL; } else { - if (!mail_op_get_password ((char *) prompt, secret, &ans)) + if ((ans = mail_get_password ((char *) prompt, secret)) == NULL) return NULL; } |