]> diplodocus.org Git - nmh/blobdiff - sbr/seq_setunseen.c
Remove ./configure's --enable-debug support; it did nothing.
[nmh] / sbr / seq_setunseen.c
index ea18d176d30344e60efbd1cf90e2caf1efdc7be9..16d028aa842e77c806eca0daaffb52bc7d2c8bb1 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <h/mh.h>
+#include <h/utils.h>
 
 /*
  * We scan through the folder and act upon all messages
@@ -29,7 +30,7 @@ seq_setunseen (struct msgs *mp, int seen)
      * and split them.
      */
     if ((cp = context_find (usequence))) {
-       dp = getcpy (cp);
+       dp = mh_xstrdup(cp);
        if (!(ap = brkstring (dp, " ", "\n")) || !*ap) {
            free (dp);
            return;