X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/177f020f122827214159c46dcfe7ded1e3c8d1c3..394a751fd883d2bbfc769fed7e254e008a2ef45e:/sbr/seq_list.c diff --git a/sbr/seq_list.c b/sbr/seq_list.c index c4564281..0aef35e3 100644 --- a/sbr/seq_list.c +++ b/sbr/seq_list.c @@ -6,8 +6,11 @@ * complete copyright information. */ -#include -#include +#include "h/mh.h" +#include "m_name.h" +#include "seq_list.h" +#include "seq_getnum.h" +#include "h/utils.h" /* allocate this much buffer space at a time */ #define MAXBUFFER 1024 @@ -38,9 +41,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 */ @@ -100,5 +103,5 @@ seq_list(struct msgs *mp, char *seqname) bp += strlen(bp); } } - return (bp > buffer? buffer : NULL); + return bp > buffer ? buffer : NULL; }