]> diplodocus.org Git - nmh/blobdiff - sbr/seq_list.c
new.c: Order two return statements to match comment.
[nmh] / sbr / seq_list.c
index aff9bacdf3ce2f3ecd39883770aa34c3f036a220..b7ed570794f1447d1ada46944535b9016e7eb6e8 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
@@ -40,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 */
@@ -102,5 +100,5 @@ seq_list(struct msgs *mp, char *seqname)
            bp += strlen(bp);
        }
     }
-    return (bp > buffer? buffer : NULL);
+    return bp > buffer ? buffer : NULL;
 }