2007-06-05 [wwp] 2.9.2cvs41

* src/inc.c
		Fix incoming messages from local accounts always getting filtered
		(even if the account prefs say don't), thanks to Colin.
This commit is contained in:
Tristan Chabredier 2007-06-05 07:41:30 +00:00
parent 2ce28140f1
commit 2cae33bd1b
4 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2007-06-05 [wwp] 2.9.2cvs41
* src/inc.c
Fix incoming messages from local accounts always getting filtered
(even if the account prefs say don't), thanks to Colin.
2007-06-05 [wwp] 2.9.2cvs40
* src/compose.c

View file

@ -2616,3 +2616,4 @@
( cvs diff -u -r 1.382.2.385 -r 1.382.2.386 src/compose.c; ) > 2.9.2cvs38.patchset
( cvs diff -u -r 1.382.2.386 -r 1.382.2.387 src/compose.c; ) > 2.9.2cvs39.patchset
( cvs diff -u -r 1.382.2.387 -r 1.382.2.388 src/compose.c; cvs diff -u -r 1.50.2.35 -r 1.50.2.36 src/compose.h; ) > 2.9.2cvs40.patchset
( cvs diff -u -r 1.149.2.73 -r 1.149.2.74 src/inc.c; ) > 2.9.2cvs41.patchset

View file

@ -11,7 +11,7 @@ MINOR_VERSION=9
MICRO_VERSION=2
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=40
EXTRA_VERSION=41
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=

View file

@ -1318,6 +1318,7 @@ static gint get_spool(FolderItem *dest, const gchar *mbox, PrefsAccount *account
g_return_val_if_fail(dest != NULL, -1);
g_return_val_if_fail(mbox != NULL, -1);
g_return_val_if_fail(account != NULL, -1);
if (!is_file_exist(mbox) || (size = get_file_size(mbox)) == 0) {
debug_print("%s: no messages in local mailbox.\n", mbox);
@ -1339,7 +1340,7 @@ static gint get_spool(FolderItem *dest, const gchar *mbox, PrefsAccount *account
debug_print("Getting new messages from %s into %s...\n",
mbox, dest->path);
msgs = proc_mbox(dest, tmp_mbox, TRUE, account);
msgs = proc_mbox(dest, tmp_mbox, account->filter_on_recv, account);
g_unlink(tmp_mbox);
if (msgs >= 0) empty_mbox(mbox);