]> diplodocus.org Git - nmh/blobdiff - uip/whom.c
Add more NORETURN and CHECK_PRINTF function attributes.
[nmh] / uip / whom.c
index 4867c0a9f8a837328e3003a6ffa2702855c382e0..c1ef6592e4095ee845f189d198f677f17bb4b0d8 100644 (file)
@@ -1,5 +1,4 @@
-/*
- * whom.c -- report to whom a message would be sent
+/* whom.c -- report to whom a message would be sent
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -9,6 +8,8 @@
 #include <h/mh.h>
 #include <h/utils.h>
 #include <h/signals.h>
+#include "../sbr/m_maildir.h"
+#include "../sbr/m_mktemp.h"
 
 #ifndef CYRUS_SASL
 # define SASLminc(a) (a)
@@ -142,8 +143,7 @@ main (int argc, char **argv)
        }
        if (msg)
            adios (NULL, "only one draft at a time!");
-       else
-           vec[vecp++] = msg = cp;
+        vec[vecp++] = msg = cp;
     }
 
     /* allow Aliasfile: profile entry */