X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fmh.c;h=b9996810f6a34443649599d82f659862d2629ceb;hp=9f483fe0d70b45cf91a10041b8015a8214967f9e;hb=214137710bf29c80d57e85acaee4a5f974204291;hpb=df53a63311937bd03c2089ac324b2edf6d1c1ea2 diff --git a/src/mh.c b/src/mh.c index 9f483fe0d..b9996810f 100644 --- a/src/mh.c +++ b/src/mh.c @@ -246,6 +246,8 @@ gint mh_move_msg(Folder *folder, FolderItem *dest, MsgInfo *msginfo) #if HAVE_FCHMOD fchmod(fileno(fp), filemode); #else + gchar *markfile; + markfile = folder_item_get_mark_file(dest); if (markfile) { chmod(markfile, filemode); @@ -420,6 +422,8 @@ gint mh_copy_msg(Folder *folder, FolderItem *dest, MsgInfo *msginfo) #if HAVE_FCHMOD fchmod(fileno(fp), filemode); #else + gchar *markfile; + markfile = folder_item_get_mark_file(dest); if (markfile) { chmod(markfile, filemode);