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