]> diplodocus.org Git - nmh/blobdiff - uip/mhlsbr.c
ap.c, dp.c: exit(3) with 0 or 1, not [0, MAX_EXIT].
[nmh] / uip / mhlsbr.c
index 00dde630206a2754dcf0c8b5a602156026ed8f15..d32d38f9d117eed83329be7b9c66a9eecc97373b 100644 (file)
@@ -14,6 +14,7 @@
 #include "../sbr/m_popen.h"
 #include <setjmp.h>
 #include <sys/types.h>
+#include "../sbr/terminal.h"
 
 /*
  * MAJOR BUG:
@@ -1646,8 +1647,7 @@ mhldone (int status)
     exitstat = status;
     if (mhl_action)
        longjmp (mhlenv, DONE);
-    else
-       done (exitstat);
+    done (exitstat);
 }