2006-02-28 [wwp] 2.0.0cvs87
authorTristan Chabredier <wwp@claws-mail.org>
Tue, 28 Feb 2006 20:25:35 +0000 (20:25 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Tue, 28 Feb 2006 20:25:35 +0000 (20:25 +0000)
* src/plugins/spamassassin/spamassassin.c
fix async flag to spamc cmdline execution (batch exec should
be asynchronous).

ChangeLog
PATCHSETS
configure.ac
src/plugins/spamassassin/spamassassin.c

index 3f7806f0c4974e9690bdb7098676e8218155ff86..12d2cfe86c94c888083a05a3817777c513a916c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-28 [wwp]       2.0.0cvs87
+
+       * src/plugins/spamassassin/spamassassin.c
+               fix async flag to spamc cmdline execution (batch exec should
+               be asynchronous).
+
 2006-02-27 [wwp]       2.0.0cvs86
 
        * src/plugins/spamassassin/spamassassin.c
index 98ee2dafeb021e4d4b20238c81a679f44568e369..70e4ccb1352d65b014fcdc431fd00ea5c4a550c1 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.654.2.1313 -r 1.654.2.1314 configure.ac;  cvs diff -u -r 1.155.2.36 -r 1.155.2.37 src/Makefile.am;  cvs diff -u -r 1.274.2.100 -r 1.274.2.101 src/mainwindow.c;  cvs diff -u -r 1.39.2.13 -r 1.39.2.14 src/mainwindow.h;  cvs diff -u -r 1.94.2.77 -r 1.94.2.78 src/messageview.c;  cvs diff -u -r 1.19.2.6 -r 1.19.2.7 src/messageview.h;  cvs diff -u -r 1.30.2.25 -r 1.30.2.26 src/prefs_toolbar.c;  cvs diff -u -r 1.150.2.53 -r 1.150.2.54 src/procmsg.c;  cvs diff -u -r 1.25.2.21 -r 1.25.2.22 src/stock_pixmap.c;  cvs diff -u -r 1.18.2.15 -r 1.18.2.16 src/stock_pixmap.h;  cvs diff -u -r 1.395.2.175 -r 1.395.2.176 src/summaryview.c;  cvs diff -u -r 1.43.2.39 -r 1.43.2.40 src/toolbar.c;  cvs diff -u -r 1.19.2.8 -r 1.19.2.9 src/toolbar.h;  diff -u /dev/null src/pixmaps/ham_btn.xpm;  cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/pixmaps/spam.xpm;  diff -u /dev/null src/pixmaps/spam_btn.xpm;  cvs diff -u -r 1.18.2.19 -r 1.18.2.20 src/plugins/spamassassin/spamassassin.c;  ) > 2.0.0cvs84.patchset
 ( cvs diff -u -r 1.18.2.20 -r 1.18.2.21 src/plugins/spamassassin/spamassassin.c;  ) > 2.0.0cvs85.patchset
 ( cvs diff -u -r 1.18.2.21 -r 1.18.2.22 src/plugins/spamassassin/spamassassin.c;  cvs diff -u -r 1.4.2.7 -r 1.4.2.8 src/plugins/spamassassin/spamassassin.h;  cvs diff -u -r 1.23.2.20 -r 1.23.2.21 src/plugins/spamassassin/spamassassin_gtk.c;  ) > 2.0.0cvs86.patchset
+( cvs diff -u -r 1.18.2.22 -r 1.18.2.23 src/plugins/spamassassin/spamassassin.c;  ) > 2.0.0cvs87.patchset
index 3e5b55e03b42ba45673a16b818f2318fd7a2858b..dc5e6acb3eb25b0a3a121baa9ce55b13043386ad 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=0
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=86
+EXTRA_VERSION=87
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 38ad000110b24eeb38ac8c6bff11b51e2f64e0c0..e049b555bc42940028be3e6991f7e1aec2dff58b 100644 (file)
@@ -301,14 +301,12 @@ void spamassassin_learn(MsgInfo *msginfo, GSList *msglist, gboolean spam)
                                copy_file(procmsg_get_message_file(info), tmpfile, TRUE) == 0) {                        
                                        tmpcmd = g_strconcat(cmd, " < ", tmpfile, NULL);
                                        debug_print("%s\n", tmpcmd);
-                                       execute_command_line(tmpcmd, FALSE);
+                                       execute_command_line(tmpcmd, TRUE);
                                        g_free(tmpcmd);
                                }
                                if (tmpfile)
                                        g_free(tmpfile);
                        }
-                       async = TRUE;
-
                        g_free(cmd);
                        return;
                } else {