]> diplodocus.org Git - nmh/blobdiff - mts/smtp/smtp.c
mhlsbr.c: Delete file-static function pointer mhl_action.
[nmh] / mts / smtp / smtp.c
index f8478427a35a2f8c745971446c3ccaa5af90f549..c7d95073fccbc8ec976babbbba28af8976ebb77c 100644 (file)
@@ -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);
@@ -540,7 +540,7 @@ sm_wtxt (char *buffer, int len)
 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, ".")) {
@@ -935,7 +935,7 @@ EHLOset (char *s)
        }
     }
 
-    return 0;
+    return NULL;
 }
 
 /*