]> diplodocus.org Git - nmh/blobdiff - uip/dp.c
Replace add(foo, NULL) with mh_xstrdup(foo).
[nmh] / uip / dp.c
index 56a0ae1cebfeec6800ae619aa5add4941b39c6f0..ece04a3f0fb7b8303872a3a20ca800f4e53adf49 100644 (file)
--- a/uip/dp.c
+++ b/uip/dp.c
@@ -123,7 +123,7 @@ main (int argc, char **argv)
 
     context_save ();   /* save the context file */
     fmt_free (fmt, 1);
 
     context_save ();   /* save the context file */
     fmt_free (fmt, 1);
-    done (status);
+    done(min(status, MAX_EXIT));
     return 1;
 }
 
     return 1;
 }