From 4a9326b4126c8892feee027b29a6203aeed5f76a Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 30 May 2012 05:11:30 +0000 Subject: fixed a bug that messages could not be sent with POP before SMTP enabled. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3079 ee746299-78ed-0310-b773-934348b2243d --- src/compose.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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(); } -- cgit v1.2.3