X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5dd6771b28c257af405d7248639ed0e3bcdce38b..8eacff500716cab8256b032c0f4dd29bc2dc16bb:/sbr/seq_setunseen.c?ds=sidebyside diff --git a/sbr/seq_setunseen.c b/sbr/seq_setunseen.c index ea18d176..16d028aa 100644 --- a/sbr/seq_setunseen.c +++ b/sbr/seq_setunseen.c @@ -9,6 +9,7 @@ */ #include +#include /* * 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;