]> diplodocus.org Git - nmh/blobdiff - sbr/seq_setprev.c
Removed a local variable from m_Eom().
[nmh] / sbr / seq_setprev.c
index e5161c5a4515a86a8b643c564c140f1a6552fb4b..022628b6a80335e43fc9d7f0c090094d7edb7006 100644 (file)
@@ -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 <h/mh.h>
+#include <h/utils.h>
 
 /*
  * 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;