diff options
author | Radek Doulik <rodo@ximian.com> | 2004-01-13 03:57:00 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-01-13 03:57:00 +0800 |
commit | 3d04ce4dc1317b22b7dab59dbf9232aa31408d3f (patch) | |
tree | 42af70ea391734441ccc395f9490b3247ee1cd1d | |
parent | 35aa8c8a796065c2a7e0b7c188c52b6c3950894e (diff) | |
download | gsoc2013-evolution-3d04ce4dc1317b22b7dab59dbf9232aa31408d3f.tar gsoc2013-evolution-3d04ce4dc1317b22b7dab59dbf9232aa31408d3f.tar.gz gsoc2013-evolution-3d04ce4dc1317b22b7dab59dbf9232aa31408d3f.tar.bz2 gsoc2013-evolution-3d04ce4dc1317b22b7dab59dbf9232aa31408d3f.tar.lz gsoc2013-evolution-3d04ce4dc1317b22b7dab59dbf9232aa31408d3f.tar.xz gsoc2013-evolution-3d04ce4dc1317b22b7dab59dbf9232aa31408d3f.tar.zst gsoc2013-evolution-3d04ce4dc1317b22b7dab59dbf9232aa31408d3f.zip |
use mail_session_get_sa_use_daemon
2004-01-12 Radek Doulik <rodo@ximian.com>
* em-junk-filter.c (em_junk_sa_check_junk): use
mail_session_get_sa_use_daemon
svn path=/trunk/; revision=24176
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/em-junk-filter.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 9644d88135..18628947d1 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2004-01-12 Radek Doulik <rodo@ximian.com> + * em-junk-filter.c (em_junk_sa_check_junk): use + mail_session_get_sa_use_daemon + * mail-session.c: added SA prefs (mail_session_get_sa_local_only): new helper method (mail_session_set_sa_local_only): ditto diff --git a/mail/em-junk-filter.c b/mail/em-junk-filter.c index d81b04feda..0491d58823 100644 --- a/mail/em-junk-filter.c +++ b/mail/em-junk-filter.c @@ -275,7 +275,7 @@ em_junk_sa_check_junk (CamelMimeMessage *msg) if (!em_junk_sa_is_available ()) return FALSE; - args [2] = em_junk_sa_use_spamc + args [2] = (em_junk_sa_use_spamc && mail_session_get_sa_use_daemon ()) ? (em_junk_sa_spamd_port == -1 ? g_strdup ("spamc -c") /* Exit with a non-zero exit code if the tested message was junk */ |