X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..94187a80bd60baab4b9c4b949ad820d730578123:/sbr/seq_setunseen.c diff --git a/sbr/seq_setunseen.c b/sbr/seq_setunseen.c index f65da357..acba9d96 100644 --- a/sbr/seq_setunseen.c +++ b/sbr/seq_setunseen.c @@ -1,5 +1,4 @@ -/* - * 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 * * This code is Copyright (c) 2002, by the authors of nmh. See the @@ -28,14 +27,12 @@ seq_setunseen (struct msgs *mp, int seen) * Get the list of sequences for Unseen-Sequence * and split them. */ - if ((cp = context_find (usequence))) { - dp = mh_xstrdup(cp); - if (!(ap = brkstring (dp, " ", "\n")) || !*ap) { - free (dp); - return; - } - } else { - return; + if (!(cp = context_find (usequence))) + return; + dp = mh_xstrdup(cp); + if (!(ap = brkstring (dp, " ", "\n")) || !*ap) { + free (dp); + return; } /*