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. --- pop3d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pop3d.h') diff --git a/pop3d.h b/pop3d.h index 1b70163..9d74961 100644 --- a/pop3d.h +++ b/pop3d.h @@ -156,7 +156,7 @@ int session_cmp(struct session *, struct session *); SPLAY_PROTOTYPE(session_tree, session, entry, session_cmp); /* maildrop.c */ -pid_t maildrop_init(uint32_t, int [2], struct passwd *, int, const char *); +pid_t maildrop_setup(uint32_t, int [2], struct passwd *, int, const char *); /* util.c */ void set_nonblocking(int); -- cgit v1.2.3 From c2736fe4b58830f0ab987e4c1f0c1eadca6d7306 Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Wed, 27 Aug 2014 12:46:39 +0500 Subject: mtype, mpath are accessible to maildrop, simplify setup parameters. --- pop3d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pop3d.h') diff --git a/pop3d.h b/pop3d.h index 9d74961..09a07f6 100644 --- a/pop3d.h +++ b/pop3d.h @@ -156,7 +156,7 @@ int session_cmp(struct session *, struct session *); SPLAY_PROTOTYPE(session_tree, session, entry, session_cmp); /* maildrop.c */ -pid_t maildrop_setup(uint32_t, int [2], struct passwd *, int, const char *); +pid_t maildrop_setup(uint32_t, int [2], struct passwd *); /* util.c */ void set_nonblocking(int); -- cgit v1.2.3 From 2bad8d69c0e76dcbeb0fccef0592822a40b17891 Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Thu, 28 Aug 2014 15:46:14 +0500 Subject: Shorten. --- pop3d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pop3d.h') diff --git a/pop3d.h b/pop3d.h index 09a07f6..8032fdf 100644 --- a/pop3d.h +++ b/pop3d.h @@ -66,7 +66,7 @@ struct mdrop { } e; size_t nmsgs; size_t sz; - struct msg **msgs_index; /* random access to msgs */ + struct msg **msgs_index; /* random access msgs */ int fd; }; -- cgit v1.2.3