aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compose.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compose.c b/src/compose.c
index e81e7ccf..3048e16b 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -3566,7 +3566,13 @@ static gint compose_send(Compose *compose)
return -1;
}
}
+
+ /* POP before SMTP requires inc to be unlocked.
+ send_message() also locks inc internally. */
+ inc_unlock();
ok = send_message(tmp, ac, compose->to_list);
+ inc_lock();
+
statusbar_pop_all();
}