X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fslocal.c;h=4e8c30d7dcf4897355463b09522777ee8b970544;hp=ae71c1b12941984724c5802abcaa64c76d4efffd;hb=39d862d5f0ba0258707ef5a74cff63243f58e425;hpb=b26456a751067ad3182e9897966aae2363873585 diff --git a/uip/slocal.c b/uip/slocal.c index ae71c1b..4e8c30d 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -1033,7 +1033,7 @@ usr_file(int fd, char *mailbox) verbose_printf(" (mbox style)"); /* open and lock the file */ - if ((md = mbx_open(mailbox, pw->pw_uid, pw->pw_gid, + if ((md = mbox_open(mailbox, pw->pw_uid, pw->pw_gid, m_gmprot())) == -1) { if (verbose) adorn("", "unable to open:"); @@ -1043,14 +1043,14 @@ 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 (mbox_copy(md, fd) == -1) { if (verbose) adorn("", "error writing to:"); return -1; } /* close and unlock file */ - if (mbx_close(mailbox, md) == NOTOK) { + if (mbox_close(mailbox, md) == NOTOK) { if (verbose) adorn("", "error closing:"); return -1;