]> diplodocus.org Git - nmh/blobdiff - sbr/seq_list.c
Make many m_getfld() buffer parameters NMH_BUFSIZ big.
[nmh] / sbr / seq_list.c
index 702def8b8212764f41f4a24d26639d6761124193..c456428108faa6aa338200a9ac3d40aa67cb20b7 100644 (file)
@@ -1,6 +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
@@ -41,8 +39,8 @@ seq_list(struct msgs *mp, char *seqname)
        if (mp->curmsg) {       
            snprintf(buffer, len, "%s", m_name(mp->curmsg));
            return (buffer);
-       } else
-           return (NULL);
+       }
+        return (NULL);
     }
 
     /* If the folder is empty, just return NULL */