From dc918f67f310428b4f0ef3b098b1136e17f42668 Mon Sep 17 00:00:00 2001 From: 0 Date: Tue, 30 Oct 2001 12:41:17 +0000 Subject: Remove the X-Evolution header before anyone else gets to see this private 2001-10-30 * providers/local/camel-mbox-folder.c (mbox_get_message): Remove the X-Evolution header before anyone else gets to see this private thing. Shoudl fix 11676 since we were inheriting flags from X-Evolution headers we didn't want to. svn path=/trunk/; revision=14453 --- camel/ChangeLog | 5 +++++ camel/providers/local/camel-mbox-folder.c | 2 ++ 2 files changed, 7 insertions(+) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 3da7f70b44..02563cc235 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,10 @@ 2001-10-30 + * providers/local/camel-mbox-folder.c (mbox_get_message): Remove + the X-Evolution header before anyone else gets to see this private + thing. Shoudl fix 11676 since we were inheriting flags from + X-Evolution headers we didn't want to. + * camel-folder-search.c (match_message): If we can't retrieve the message, ignore it, it can't match. diff --git a/camel/providers/local/camel-mbox-folder.c b/camel/providers/local/camel-mbox-folder.c index 534269d455..eb3faf166b 100644 --- a/camel/providers/local/camel-mbox-folder.c +++ b/camel/providers/local/camel-mbox-folder.c @@ -397,6 +397,8 @@ retry: return NULL; } + camel_medium_remove_header((CamelMedium *)message, "X-Evolution"); + /* and unlock now we're finished with it */ camel_local_folder_unlock(lf); -- cgit v1.2.3