X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/e107c0d8298ccd64484270e4f2f76c1514c90313..64a40afc7d83e7b1280905fce7bdfd3a2ec7f01a:/mts/smtp/smtp.c diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index f340e1ee..c7d95073 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 @@ -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; } /*