2005-11-07 [cleroy] 1.9.99cvs16
authorColin Leroy <colin@colino.net>
Mon, 7 Nov 2005 16:52:29 +0000 (16:52 +0000)
committerColin Leroy <colin@colino.net>
Mon, 7 Nov 2005 16:52:29 +0000 (16:52 +0000)
* src/send_message.c
Fix bug #314 (Queue does not empty under certain
circumstances)

ChangeLog
PATCHSETS
configure.ac
src/send_message.c

index 9777d07..ae62b69 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-07 [cleroy]    1.9.99cvs16
+
+       * src/send_message.c
+               Fix bug #314 (Queue does not empty under certain 
+               circumstances)
+
 2005-11-07 [paul]      1.9.99cvs15
 
        * src/mutt.c
index 66ff09d..9384c7f 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.12.2.4 -r 1.12.2.5 src/ldif.c;  ) > 1.9.99cvs13.patchset
 ( cvs diff -u -r 1.2 -r 1.3 doc/man/Makefile.am;  diff -u /dev/null doc/man/sylpheed-claws.1;  cvs diff -u -r -1.5.2.2 -r -1.5.2.3 doc/man/sylpheed.1;  ) > 1.9.99cvs14.patchset
 ( cvs diff -u -r 1.6.10.5 -r 1.6.10.6 src/mutt.c;  cvs diff -u -r 1.6.2.4 -r 1.6.2.5 src/pine.c;  ) > 1.9.99cvs15.patchset
+( cvs diff -u -r 1.17.2.21 -r 1.17.2.22 src/send_message.c;  ) > 1.9.99cvs16.patchset
index 3e1e9ec..ab5ad09 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=99
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=15
+EXTRA_VERSION=16
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 3402edb..34aa6b9 100644 (file)
@@ -96,15 +96,18 @@ gint send_message(const gchar *file, PrefsAccount *ac_prefs, GSList *to_list)
                return -1;
        }
 
+       inc_lock();
        if (ac_prefs->use_mail_command && ac_prefs->mail_command &&
            (*ac_prefs->mail_command)) {
                val = send_message_local(ac_prefs->mail_command, fp);
                fclose(fp);
+               inc_unlock();
                return val;
        } else {
                val = send_message_smtp(ac_prefs, to_list, fp);
                
                fclose(fp);
+               inc_unlock();
                return val;
        }
 }