diff options
author | Sunil Nimmagadda <sunil@sunilnimmagadda.com> | 2014-04-10 18:19:26 +0500 |
---|---|---|
committer | Sunil Nimmagadda <sunil@sunilnimmagadda.com> | 2014-04-10 18:19:26 +0500 |
commit | cf7e82705fd6b2a1edfa0e24f998f2eb6357d950 (patch) | |
tree | 360590d9d9dc441111a68f68118e0f5b259b1b6c /pop3e.c | |
parent | f5348e8562c4ac452a8aa93b3b16c2c76133f580 (diff) | |
parent | e7d2df8c667cf50c80631c1faa1a7e98ffb55de6 (diff) |
Kill pop3_main return value as we now waitpid on WAIT_ANY.
Diffstat (limited to 'pop3e.c')
-rw-r--r-- | pop3e.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,7 +47,7 @@ static void sig_handler(int, short, void *); struct imsgev iev_pop3d; void *ssl_ctx; -pid_t +void pop3_main(int pair[2], struct passwd *pw) { extern struct session_tree sessions; @@ -59,7 +59,7 @@ pop3_main(int pair[2], struct passwd *pw) fatal("pop3e: fork"); if (pid > 0) - return (pid); + return; close(pair[0]); setproctitle("pop3 engine"); |