[Commits] att_remover.c 1.1.2.28 1.1.2.29

pawel at claws-mail.org pawel at claws-mail.org
Thu Feb 16 23:23:41 CET 2012


Update of /home/claws-mail/plugins/att_remover/src
In directory srv:/tmp/cvs-serv20073/src

Modified Files:
      Tag: gtk2
	att_remover.c 
Log Message:
2012-02-16 [pawel]	1.0.13cvs2

	* src/att_remover.c
		When deleting input message remove locked status otherwise
		we are left with input and output messages after successful
		attachment removal

Index: att_remover.c
===================================================================
RCS file: /home/claws-mail/plugins/att_remover/src/Attic/att_remover.c,v
retrieving revision 1.1.2.28
retrieving revision 1.1.2.29
diff -u -d -r1.1.2.28 -r1.1.2.29
--- att_remover.c	15 Feb 2012 20:14:06 -0000	1.1.2.28
+++ att_remover.c	16 Feb 2012 22:23:39 -0000	1.1.2.29
@@ -128,6 +128,7 @@
 	if (!has_attachment)
 		flags.tmp_flags &= ~MSG_HAS_ATTACHMENT;
 
+	oldmsg->flags.perm_flags &= ~MSG_LOCKED;
 	folder_item_remove_msg(item, oldmsg->msgnum);
 	msgnum = folder_item_add_msg(item, finalmsg->plaintext_file, 
 			&flags, TRUE);



More information about the Commits mailing list