]> diplodocus.org Git - nmh/blobdiff - uip/rcvdist.c
Replace `sizeof (char)' with 1, then remove if a multiplier.
[nmh] / uip / rcvdist.c
index a75e21aca73c89cdf6c88c1c99863dc5b5598f4a..bf301cc2d1e1af0140987e423256d6d9baf4bfbf 100644 (file)
@@ -10,6 +10,7 @@
 #include <h/rcvmail.h>
 #include <h/tws.h>
 #include <h/mts.h>
+#include "h/done.h"
 #include <h/utils.h>
 #include "sbr/m_mktemp.h"
 
@@ -49,7 +50,7 @@ main (int argc, char **argv)
 
     if (nmh_init(argv[0], 2)) { return 1; }
 
-    done=unlink_done;
+    set_done(unlink_done);
 
     /*
      * Configure this now, since any unknown switches to rcvdist get
@@ -127,8 +128,8 @@ main (int argc, char **argv)
     child_id = fork();
     switch (child_id) {
        case NOTOK: 
-           inform("unable to fork, continuing...");
-           /* FALLTHRU */
+            adios("fork", "failed:");
+
        case OK: 
            execvp (program, vec);
            fprintf (stderr, "unable to exec ");