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 9777d0712dd17bbadaae77b8c65af4188fe13516..ae62b69d9bf06f7618a9a2bfa7ea893f73863397 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 66ff09d0d056038fa6650cca049662939c0d0f62..9384c7fff7dc60b5794b3c85a36c2738a55ef057 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 3e1e9ecc10d503cfd3a1470ac5ac4a80dae20cae..ab5ad092a2ada2947a634dc03d451335ab4fa833 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 3402edbdd507437d730b99d9c02474877b411b6f..34aa6b991a711ff6521487e1959726dfd3cd0c04 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;
        }
 }