X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/92c3b05ef3e582d64b3cecfc261fdd66ef13a4ef..f5bfa5864d2feef66948fde764c376b7a9f8b839:/uip/mhn.c?ds=inline diff --git a/uip/mhn.c b/uip/mhn.c index 4a3b33a7..94f25ace 100644 --- a/uip/mhn.c +++ b/uip/mhn.c @@ -15,6 +15,7 @@ #include #include #include +#include "h/done.h" #include #include "mhmisc.h" #include "sbr/m_maildir.h" @@ -118,7 +119,7 @@ main (int argc, char **argv) if (nmh_init(argv[0], 1)) { return 1; } - done=freects_done; + set_done(freects_done); arguments = getarguments (invo_name, argc, argv, 1); argp = arguments; @@ -370,7 +371,7 @@ do_cache: execvp ("mhbuild", vec); fprintf (stderr, "unable to exec "); - _exit (-1); + _exit(1); } /* @@ -397,7 +398,7 @@ do_cache: execvp ("mhbuild", vec); fprintf (stderr, "unable to exec "); - _exit (-1); + _exit(1); } if (file && msgs.size)