summaryrefslogtreecommitdiff
path: root/pop3d.c
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@sunilnimmagadda.com>2014-04-10 18:19:26 +0500
committerSunil Nimmagadda <sunil@sunilnimmagadda.com>2014-04-10 18:19:26 +0500
commitcf7e82705fd6b2a1edfa0e24f998f2eb6357d950 (patch)
tree360590d9d9dc441111a68f68118e0f5b259b1b6c /pop3d.c
parentf5348e8562c4ac452a8aa93b3b16c2c76133f580 (diff)
parente7d2df8c667cf50c80631c1faa1a7e98ffb55de6 (diff)
Kill pop3_main return value as we now waitpid on WAIT_ANY.
Diffstat (limited to 'pop3d.c')
-rw-r--r--pop3d.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pop3d.c b/pop3d.c
index 73656a8..2c7e27a 100644
--- a/pop3d.c
+++ b/pop3d.c
@@ -47,7 +47,6 @@ static enum m_type m_type(const char *);
static void usage(void);
static struct imsgev iev_pop3e;
-static pid_t pop3e_pid;
static const char *mpath = MBOX_PATH;
static int mtype = M_MBOX;
@@ -99,7 +98,7 @@ main(int argc, char *argv[])
if ((pw = getpwnam(POP3D_USER)) == NULL)
fatalx("main: getpwnam " POP3D_USER);
- pop3e_pid = pop3_main(pair, pw);
+ pop3_main(pair, pw);
close(pair[1]);
setproctitle("[priv]");
logit(LOG_INFO, "pop3d ready; type:%s, path:%s", mtype_str, mpath);