]> diplodocus.org Git - nmh/blobdiff - uip/ap.c
Replace printf("%s\n", foo) and similar with puts(foo).
[nmh] / uip / ap.c
index a20747f9014121f52c191fa38bccc8114c08cb0d..1d1ee522f74b44ea18623f5d67d6b26c5a924f5d 100644 (file)
--- a/uip/ap.c
+++ b/uip/ap.c
@@ -10,7 +10,7 @@
 #include <h/fmt_scan.h>
 #include <h/mts.h>
 #include <h/utils.h>
-#include "../sbr/terminal.h"
+#include "sbr/terminal.h"
 
 #define        NADDRS  100
 
@@ -128,7 +128,7 @@ main (int argc, char **argv)
        status += process (addrs[addrp], width);
 
     fmt_free (fmt, 1);
-    done(min(status, MAX_EXIT));
+    done(!!status);
     return 1;
 }