X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8c2d4ff84c4db1eb59d3a3fb007803f82c4906b9..99817f2e4d0ceaf8d3be1410c0c29fcd070ac6ec:/mts/smtp/smtp.c diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index 1b92db9f..80dabb78 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -13,7 +13,7 @@ #include #include -#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]);