--- a/maildrop.c Wed Aug 27 10:36:03 2014 +0500
+++ b/maildrop.c Wed Aug 27 11:50:11 2014 +0500
@@ -48,7 +48,7 @@
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 @@
switch (code) {
case IMSGEV_IMSG:
switch (imsg->hdr.type) {
+ case IMSG_MAILDROP_INIT:
+ break;
case IMSG_MAILDROP_UPDATE:
update(iev, imsg, mb);
break;