X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fburst.c;h=09a60d9f180b0eea1b39e59f8bd11fcfda4c591d;hb=c8e830d8fd222d69c9fca36d508a8d8a42fd4a46;hp=eb2fb7a784eb5f5174f2029a3a505e86f2aded77;hpb=d4c34b4439a9dbd89664de460ed37ecddc260fb1;p=mmh diff --git a/uip/burst.c b/uip/burst.c index eb2fb7a..09a60d9 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -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));