X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6c42153ad9362cc676ea66563bf400d7511b3b68..07916b2ff:/sbr/seq_setunseen.c?ds=sidebyside diff --git a/sbr/seq_setunseen.c b/sbr/seq_setunseen.c index 022982ea..49bfda4d 100644 --- a/sbr/seq_setunseen.c +++ b/sbr/seq_setunseen.c @@ -1,16 +1,13 @@ - -/* - * seq_setunseen.c -- add/delete all messages which have the SELECT_UNSEEN +/* seq_setunseen.c -- add/delete all messages which have the SELECT_UNSEEN * -- bit set to/from the Unseen-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 /* * We scan through the folder and act upon all messages @@ -31,7 +28,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;