/* On first invocation, allocate initial buffer space */
if (!buffer) {
len = MAXBUFFER;
- buffer = mh_xmalloc ((size_t) len);
+ buffer = mh_xmalloc((size_t) len);
}
/*
** This is returned, even if message doesn't exist or the
** folder is empty.
*/
- if (!strcmp (current, seqname)) {
+ if (!strcmp(current, seqname)) {
if (mp->curmsg) {
sprintf(buffer, "%s", m_name(mp->curmsg));
return (buffer);
return NULL;
/* Get the index of the sequence */
- if ((seqnum = seq_getnum (mp, seqname)) == -1)
+ if ((seqnum = seq_getnum(mp, seqname)) == -1)
return NULL;
bp = buffer;
char *newbuf;
len += MAXBUFFER;
- newbuf = mh_xrealloc (buffer, (size_t) len);
+ newbuf = mh_xrealloc(buffer, (size_t) len);
bp = newbuf + (bp - buffer);
buffer = newbuf;
}