X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..c576ad2674c37a1c63f004c71049998f38854c64:/sbr/seq_list.c diff --git a/sbr/seq_list.c b/sbr/seq_list.c index a48992c6..b7ed5707 100644 --- a/sbr/seq_list.c +++ b/sbr/seq_list.c @@ -1,5 +1,4 @@ -/* - * seq_list.c -- Get all messages in a sequence and return them +/* seq_list.c -- Get all messages in a sequence and return them * -- as a space separated list of message ranges. * * This code is Copyright (c) 2002, by the authors of nmh. See the @@ -39,9 +38,9 @@ seq_list(struct msgs *mp, char *seqname) if (!strcmp (current, seqname)) { if (mp->curmsg) { snprintf(buffer, len, "%s", m_name(mp->curmsg)); - return (buffer); + return buffer; } - return (NULL); + return NULL; } /* If the folder is empty, just return NULL */ @@ -101,5 +100,5 @@ seq_list(struct msgs *mp, char *seqname) bp += strlen(bp); } } - return (bp > buffer? buffer : NULL); + return bp > buffer ? buffer : NULL; }