changeset 1289:c6c7867b2f6f HEAD

FETCH: \Seen flag updating didn't work (eg. FETCH BODY[]).
author Timo Sirainen <tss@iki.fi>
date Sun, 09 Mar 2003 11:01:01 +0200
parents fa47d787c2aa
children 9562ba6af1f1
files src/lib-storage/index/index-fetch.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/index-fetch.c	Sun Mar 09 02:35:20 2003 +0200
+++ b/src/lib-storage/index/index-fetch.c	Sun Mar 09 11:01:01 2003 +0200
@@ -31,7 +31,7 @@
 
 	ctx = i_new(struct mail_fetch_context, 1);
 
-	if (!box->readonly && update_seen != NULL)
+	if (box->readonly && update_seen != NULL)
 		*update_seen = FALSE;
 
 	/* need exclusive lock to update the \Seen flags */