Removed unused parameter from mbx_copy().
[mmh] / uip / slocal.c
index a81afa9..7546cdd 100644 (file)
@@ -405,8 +405,7 @@ main(int argc, char **argv)
 
        if (mbox == NULL) {
                snprintf(mailbox, sizeof(mailbox), "%s/%s",
-                               mmdfldir[0] ? mmdfldir : pw->pw_dir,
-                               mmdflfil[0] ? mmdflfil : pw->pw_name);
+                               mailspool, pw->pw_name);
                mbox = mailbox;
        }
        if (home == NULL)
@@ -1069,8 +1068,7 @@ usr_file(int fd, char *mailbox)
        lseek(fd, (off_t) 0, SEEK_SET);
 
        /* append message to file */
-       if (mbx_copy(mailbox, md, fd, NULL, verbose)
-                       == -1) {
+       if (mbx_copy(mailbox, md, fd, verbose) == -1) {
                if (verbose)
                        adorn("", "error writing to:");
                return -1;