pop3d.c
changeset 32 efb124b66dbd
parent 31 c1bdfc1a9800
child 40 a0c73de318ed
--- a/pop3d.c	Wed Aug 27 11:50:11 2014 +0500
+++ b/pop3d.c	Wed Aug 27 12:47:09 2014 +0500
@@ -47,8 +47,8 @@
 static void usage(void);
 
 static struct imsgev	iev_pop3e;
-static const char	*mpath;
-static int		mtype = M_MBOX;
+const char		*mpath;
+int			mtype = M_MBOX;
 
 int
 main(int argc, char *argv[])
@@ -172,7 +172,7 @@
 	if ((pw = getpwnam(req->user)) == NULL)
 		fatalx("authenticate: getpwnam");
 
-	if (maildrop_setup(imsg->hdr.peerid, pair, pw, mtype, mpath) == -1) {
+	if (maildrop_setup(imsg->hdr.peerid, pair, pw) == -1) {
 		logit(LOG_INFO, "%u: unable to fork maildrop process",
 		    imsg->hdr.peerid);
 		pair[0] = -1;