[Commits] filtering.c 1.60.2.60 1.60.2.61
pawel at claws-mail.org
pawel at claws-mail.org
Fri Feb 10 22:37:58 CET 2012
Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv21080/src
Modified Files:
Tag: gtk2
filtering.c
Log Message:
2012-02-10 [pawel] 3.8.0cvs28
* src/filtering.c
Fix bug #2598 'Actions can move locked messages'
Index: filtering.c
===================================================================
RCS file: /home/claws-mail/claws/src/filtering.c,v
retrieving revision 1.60.2.60
retrieving revision 1.60.2.61
diff -u -d -r1.60.2.60 -r1.60.2.61
--- filtering.c 24 Nov 2011 16:50:11 -0000 1.60.2.60
+++ filtering.c 10 Feb 2012 21:37:55 -0000 1.60.2.61
@@ -300,6 +300,9 @@
switch(action->type) {
case MATCHACTION_MOVE:
+ if (MSG_IS_LOCKED(info->flags))
+ return FALSE;
+
dest_folder =
folder_find_item_from_identifier(action->destination);
if (!dest_folder) {
More information about the Commits
mailing list