mhl and mhbuild ignore to long lines
[mmh] / sbr / m_draft.c
index 549e89b..050c7e5 100644 (file)
@@ -23,12 +23,12 @@ m_draft(char *which)
        static char buffer[BUFSIZ];
        char *folder;
 
-       folder = getcpy(toabsdir(draftfolder));
+       folder = mh_xstrdup(toabsdir(draftfolder));
        create_folder(folder, 0, exit);
        if (!(mp = folder_read(folder))) {
                adios(EX_IOERR, NULL, "unable to read folder %s", folder);
        }
-       free(folder);
+       mh_free0(&folder);
 
        /*
        ** Make sure we have enough message status space for all
@@ -53,7 +53,6 @@ m_draft(char *which)
        */
        if (!m_convert(mp, which))
                exit(EX_SOFTWARE);
-       seq_setprev(mp);
 
        snprintf(buffer, sizeof(buffer), "%s/%s", mp->foldpath,
                        m_name(mp->lowsel));