X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..4a56a28ac:/sbr/seq_setprev.c?ds=sidebyside diff --git a/sbr/seq_setprev.c b/sbr/seq_setprev.c index e5161c5a..022628b6 100644 --- a/sbr/seq_setprev.c +++ b/sbr/seq_setprev.c @@ -1,11 +1,12 @@ - -/* - * seq_setprev.c -- set the Previous-Sequence +/* seq_setprev.c -- set the Previous-Sequence * - * $Id$ + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include +#include /* * Add all the messages currently SELECTED to @@ -25,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;