]> diplodocus.org Git - nmh/blobdiff - mts/smtp/smtp.c
test/getcanon.c: exit(3) with 0 or 1, not -1 or symbolic error code.
[nmh] / mts / smtp / smtp.c
index 1b92db9f056376a054e5aa11dea7bf09c7eb57a8..80dabb7831ead6f2c274ee51e17673609c121bd7 100644 (file)
@@ -13,7 +13,7 @@
 #include <h/netsec.h>
 
 #include <sys/socket.h>
-#include "../../sbr/base64.h"
+#include "sbr/base64.h"
 
 /*
  * This module implements an interface to SendMail very similar
@@ -307,9 +307,7 @@ sendmail_init (char *client, int watch, int verbose, int debug, int sasl,
        return sm_ierror ("no pipes");
     }
 
-    for (i = 0; (sm_child = fork ()) == NOTOK && i < 5; i++)
-       sleep (5);
-
+    sm_child = fork();
     switch (sm_child) {
        case NOTOK: 
            close (pdo[0]);