X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..8eacff500716cab8256b032c0f4dd29bc2dc16bb:/sbr/seq_setunseen.c diff --git a/sbr/seq_setunseen.c b/sbr/seq_setunseen.c index 906b0ac2..16d028aa 100644 --- a/sbr/seq_setunseen.c +++ b/sbr/seq_setunseen.c @@ -3,10 +3,13 @@ * 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 @@ -27,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;