aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r--mail/mail-session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 6b4bdf610f..9b69f53643 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -395,8 +395,7 @@ alert_user(CamelSession *session, CamelSessionAlertType type, const char *prompt
}
if (cancel) {
- e_msgport_wait(user_message_reply);
- r = (struct _user_message_msg *)e_msgport_get(user_message_reply);
+ r = (struct _user_message_msg *)e_msgport_wait(user_message_reply);
g_assert(m == r);
ret = m->result;