evolution r36829 - branches/gnome-2-24/plugins/sa-junk-plugin
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36829 - branches/gnome-2-24/plugins/sa-junk-plugin
- Date: Wed, 3 Dec 2008 21:52:13 +0000 (UTC)
Author: mbarnes
Date: Wed Dec 3 21:52:13 2008
New Revision: 36829
URL: http://svn.gnome.org/viewvc/evolution?rev=36829&view=rev
Log:
2008-12-03 Matthew Barnes <mbarnes redhat com>
** Fixes bug #560420 (patch by hp syntomax com)
* plugins/sa-junk-plugin/em-junk-filter.c (pipe_to_sa_full):
spamc and spamassassin use error codes >= 64 to denote execution
errors. Positive error codes < 64 means the message was identified
as spam.
Modified:
branches/gnome-2-24/plugins/sa-junk-plugin/ChangeLog
branches/gnome-2-24/plugins/sa-junk-plugin/em-junk-filter.c
Modified: branches/gnome-2-24/plugins/sa-junk-plugin/em-junk-filter.c
==============================================================================
--- branches/gnome-2-24/plugins/sa-junk-plugin/em-junk-filter.c (original)
+++ branches/gnome-2-24/plugins/sa-junk-plugin/em-junk-filter.c Wed Dec 3 21:52:13 2008
@@ -250,7 +250,7 @@
else
res = rv_err;
- if (res != 0)
+ if (res >= 64)
g_set_error (error, EM_JUNK_ERROR, res, _("Pipe to SpamAssassin failed, error code: %d"), res);
return res;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]