]> diplodocus.org Git - nmh/blobdiff - uip/forw.c
mhshow/test-charset: Use octal, not hex, in printf(1) format string.
[nmh] / uip / forw.c
index 153b79539bb180cfbebca94fc5d24d88580f30ae..288e85a0a47e0f7d8b5f356f3efa43ef1a81680a 100644 (file)
@@ -8,8 +8,9 @@
 #include <h/mh.h>
 #include <fcntl.h>
 #include <h/tws.h>
+#include "h/done.h"
 #include <h/utils.h>
-#include "../sbr/m_maildir.h"
+#include "sbr/m_maildir.h"
 
 
 #define        IFORMAT "digest-issue-%s"
@@ -540,7 +541,7 @@ mhl_draft (int out, char *digest, int volume, int issue,
            execvp (program, vec.msgs);
            fprintf (stderr, "unable to exec ");
            perror (mhlproc);
-           _exit (-1);
+           _exit(1);
 
        default: 
            close (pd[1]);