summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0 <NotZed@Ximian.com>2001-10-30 12:41:17 +0000
committerMichael Zucci <zucchi@src.gnome.org>2001-10-30 12:41:17 +0000
commita7593d39da9453bbb587caf0e511e374e79c88bf (patch)
treef3c919f2a57a196bf9ffe63fe27c2e731bb9de1a
parenta7b80cebf698378c40165af10b85f45d4081ef11 (diff)
downloadevolution-data-server-a7593d39da9453bbb587caf0e511e374e79c88bf.tar.gz
Remove the X-Evolution header before anyone else gets to see this private
2001-10-30 <NotZed@Ximian.com> * 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.
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/local/camel-mbox-folder.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 3da7f70b4..02563cc23 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,10 @@
2001-10-30 <NotZed@Ximian.com>
+ * 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 534269d45..eb3faf166 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);