remove Previus-Sequence support
[mmh] / uip / burst.c
index 119a936..09a60d9 100644 (file)
@@ -25,6 +25,8 @@ static struct swit switches[] = {
        { NULL, 0 }
 };
 
+char *version=VERSION;
+
 static char delim3[] = "-------";
 
 struct smsg {
@@ -88,7 +90,7 @@ main(int argc, char **argv)
                        if (folder)
                                adios(EX_USAGE, NULL, "only one folder at a time!");
                        else
-                               folder = getcpy(expandfol(cp));
+                               folder = mh_xstrdup(expandfol(cp));
                } else {
                        msgs[msgp++] = cp;
                }
@@ -115,7 +117,6 @@ main(int argc, char **argv)
        for (msgnum = 0; msgnum < msgp; msgnum++)
                if (!m_convert(mp, msgs[msgnum]))
                        exit(EX_SOFTWARE);
-       seq_setprev(mp);  /* set the previous-sequence */
 
        smsgs = mh_xcalloc(MAXFOLDER + 2, sizeof(*smsgs));
 
@@ -136,7 +137,7 @@ main(int argc, char **argv)
                }
        }
 
-       free(smsgs);
+       mh_free0(&smsgs);
        context_replace(curfolder, folder);
 
        /*