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 | |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/compose.c | 6 |
2 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2012-05-30 + * src/compose.c: compose_send(): fixed a bug that messages could not + be sent with POP before SMTP enabled ([sylpheed-jp:11173]). + +2012-05-30 + * manual/ja/*.html manual/ja/Makefile.am: convert the encoding of HTML files to UTF-8 (prevents garbled character with IE). 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(); } |