If rcvpack missed file argument, it prints to stdout; Removed unused code.
[mmh] / uip / slocal.c
index 0ef54c6..6b78c1e 100644 (file)
@@ -9,7 +9,7 @@
 /*
 **  Under sendmail, users should add the line
 **
-**      "| /usr/local/nmh/lib/slocal"
+**      "| /usr/local/mmh/bin/slocal"
 **
 **  to their $HOME/.forward file.
 **
@@ -25,7 +25,6 @@
 #include <h/rcvmail.h>
 #include <h/signals.h>
 #include <h/tws.h>
-#include <h/mts.h>
 #include <h/utils.h>
 
 #include <pwd.h>
@@ -1044,7 +1043,7 @@ usr_file(int fd, char *mailbox)
        lseek(fd, (off_t) 0, SEEK_SET);
 
        /* append message to file */
-       if (mbx_copy(mailbox, md, fd, verbose) == -1) {
+       if (mbx_copy(md, fd) == -1) {
                if (verbose)
                        adorn("", "error writing to:");
                return -1;