-
-/*
- * 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
if (!strcmp (current, seqname)) {
if (mp->curmsg) {
snprintf(buffer, len, "%s", m_name(mp->curmsg));
- return (buffer);
- } else
- return (NULL);
+ return buffer;
+ }
+ return NULL;
}
/* If the folder is empty, just return NULL */
bp += strlen(bp);
}
}
- return (bp > buffer? buffer : NULL);
+ return bp > buffer ? buffer : NULL;
}