diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-05-30 05:11:30 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-05-30 05:11:30 +0000 |
commit | 4a9326b4126c8892feee027b29a6203aeed5f76a (patch) | |
tree | c07e63a08d006c32c048df55aa1a2bee14da3cd1 /src/compose.c | |
parent | 9330b56c938671dd5fd129388a151837b83d630f (diff) |
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
Diffstat (limited to 'src/compose.c')
-rw-r--r-- | src/compose.c | 6 |
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(); } |