X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/3b6170b27ba8fedbb4d67d2842bfaa38d4417962..64a40afc7d83e7b1280905fce7bdfd3a2ec7f01a:/mts/smtp/smtp.c diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index 80dabb78..c7d95073 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -339,7 +339,7 @@ sendmail_init (char *client, int watch, int verbose, int debug, int sasl, execvp (sendmail, vec); fprintf (stderr, "unable to exec "); perror (sendmail); - _exit (-1); /* NOTREACHED */ + _exit(1); /* NOTREACHED */ default: SIGNAL (SIGPIPE, SIG_IGN); @@ -533,14 +533,14 @@ sm_wtxt (char *buffer, int len) result = sm_wstream (buffer, len); - return (result == NOTOK ? RP_BHST : RP_OK); + return result == NOTOK ? RP_BHST : RP_OK; } int sm_wtend (void) { - if (sm_wstream ((char *) NULL, 0) == NOTOK) + if (sm_wstream(NULL, 0) == NOTOK) return RP_BHST; switch (smtalk (SM_DOT + 3 * sm_addrs, ".")) { @@ -632,7 +632,7 @@ sm_end (int type) status = OK; } - return (status ? RP_BHST : RP_OK); + return status ? RP_BHST : RP_OK; } @@ -935,7 +935,7 @@ EHLOset (char *s) } } - return 0; + return NULL; } /*