]> diplodocus.org Git - nmh/blobdiff - uip/ap.c
Move NPARTS and NTYPES from mhparse.h to mhmisc.h.
[nmh] / uip / ap.c
index ea93fd6f78584492063ba6f6adfbdaaa726c9d5e..a44ecf55916c484e3409d2359eef346097770ec2 100644 (file)
--- a/uip/ap.c
+++ b/uip/ap.c
@@ -127,7 +127,7 @@ main (int argc, char **argv)
        status += process (addrs[addrp], width);
 
     fmt_free (fmt, 1);
        status += process (addrs[addrp], width);
 
     fmt_free (fmt, 1);
-    done (status);
+    done(min(status, MAX_EXIT));
     return 1;
 }
 
     return 1;
 }