-
-/*
- * 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
*/
#include <h/mh.h>
+#include <h/utils.h>
/*
* Add all the messages currently SELECTED to
* and split them.
*/
if ((cp = context_find (psequence))) {
- dp = getcpy (cp);
+ dp = mh_xstrdup(cp);
if (!(ap = brkstring (dp, " ", "\n")) || !*ap) {
free (dp);
return;