]> git.marmaro.de Git - mmh/blobdiff - uip/mark.c
Call spost directly, not via postproc. Remove the postproc profile entry.
[mmh] / uip / mark.c
index 5fd27f665632e4367b6bb8e0ce75c6415a424948..79763ff232235ac3da672790fa43a0f19a621823 100644 (file)
@@ -152,7 +152,7 @@ main(int argc, char **argv)
        }
 
        if (!msgs.size)
-               app_msgarg(&msgs, listsw ? "all" :"cur");
+               app_msgarg(&msgs, listsw ? seq_all : seq_cur);
        if (!folder)
                folder = getcurfol();
        maildir = toabsdir(folder);
@@ -221,7 +221,7 @@ main(int argc, char **argv)
        }
 
        seq_save(mp);  /* synchronize message sequences */
-       context_replace(pfolder, folder);  /* update current folder */
+       context_replace(curfolder, folder);  /* update current folder */
        context_save();  /* save the context file */
        folder_free(mp);  /* free folder/message structure */
        done(0);