X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5dd6771b28c257af405d7248639ed0e3bcdce38b..2b60a54adb3b0bf5a9b927708085492b816a6015:/sbr/seq_setprev.c diff --git a/sbr/seq_setprev.c b/sbr/seq_setprev.c index 11de1439..022628b6 100644 --- a/sbr/seq_setprev.c +++ b/sbr/seq_setprev.c @@ -1,6 +1,4 @@ - -/* - * seq_setprev.c -- set the Previous-Sequence +/* seq_setprev.c -- set the Previous-Sequence * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -8,6 +6,7 @@ */ #include +#include /* * Add all the messages currently SELECTED to @@ -27,7 +26,7 @@ seq_setprev (struct msgs *mp) * and split them. */ if ((cp = context_find (psequence))) { - dp = getcpy (cp); + dp = mh_xstrdup(cp); if (!(ap = brkstring (dp, " ", "\n")) || !*ap) { free (dp); return;