From 3dc10527bb9d7d8b22369260976a897222e4297c Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Wed, 27 Aug 2014 11:49:41 +0500 Subject: Rename to differentiate setup and init operations. --- maildrop.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'maildrop.c') diff --git a/maildrop.c b/maildrop.c index 12861f7..5562195 100644 --- a/maildrop.c +++ b/maildrop.c @@ -48,7 +48,7 @@ static size_t expand(char *, const char *, size_t, struct passwd *); static struct mdrop m; pid_t -maildrop_init(uint32_t session_id, int pair[2], struct passwd *pw, +maildrop_setup(uint32_t session_id, int pair[2], struct passwd *pw, int type, const char *path) { struct imsgev iev_session; @@ -176,6 +176,8 @@ session_imsgev(struct imsgev *iev, int code, struct imsg *imsg) switch (code) { case IMSGEV_IMSG: switch (imsg->hdr.type) { + case IMSG_MAILDROP_INIT: + break; case IMSG_MAILDROP_UPDATE: update(iev, imsg, mb); break; -- cgit v1.2.3