[Commits] folder.c 1.213.2.207 1.213.2.208
miras at claws-mail.org
miras at claws-mail.org
Mon Jun 25 18:01:39 CEST 2012
Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv25906/src
Modified Files:
Tag: gtk2
folder.c
Log Message:
2012-06-25 [mir] 3.8.0cvs56
* src/folder.c
If a folder class returns <> 0 then the message has not
been removed from the file system and therefore it should
not be removed from the cache either.
Index: folder.c
===================================================================
RCS file: /home/claws-mail/claws/src/folder.c,v
retrieving revision 1.213.2.207
retrieving revision 1.213.2.208
diff -u -d -r1.213.2.207 -r1.213.2.208
--- folder.c 27 May 2012 17:30:50 -0000 1.213.2.207
+++ folder.c 25 Jun 2012 16:01:37 -0000 1.213.2.208
@@ -3741,7 +3741,8 @@
if (!item->folder->account || item->folder->account->imap_use_trash) {
if (msginfo != NULL) {
- remove_msginfo_from_cache(item, msginfo);
+ if (ret == 0)
+ remove_msginfo_from_cache(item, msginfo);
procmsg_msginfo_free(msginfo);
}
}
More information about the Commits
mailing list