diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-01 20:20:12 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-01 20:20:12 +0300 |
commit | a3dab0d96c99364fce093173964c8370ac209b2e (patch) | |
tree | 076377f6d3a3f80577c17e840543eecdc6148ecc /src | |
parent | 13d6aedafcd6a8ac9e8d5429e096bdfeb61b06d2 (diff) | |
download | rspamd-a3dab0d96c99364fce093173964c8370ac209b2e.tar.gz rspamd-a3dab0d96c99364fce093173964c8370ac209b2e.zip |
Fix comments
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/worker_util.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c index 0e4a29a32..5d8b8c608 100644 --- a/src/libserver/worker_util.c +++ b/src/libserver/worker_util.c @@ -488,7 +488,6 @@ rspamd_fork_worker (struct rspamd_main *rspamd_main, msg_info_main ("starting %s process %P", cf->worker->name, getpid ()); /* Close parent part of socketpair */ close (cur->control_pipe[0]); - /* Set non-blocking on the worker part of socketpair */ rspamd_socket_nonblocking (cur->control_pipe[1]); /* Execute worker */ cf->worker->worker_start_func (cur); @@ -501,7 +500,6 @@ rspamd_fork_worker (struct rspamd_main *rspamd_main, default: /* Close worker part of socketpair */ close (cur->control_pipe[1]); - /* Set blocking on the main part of socketpair */ rspamd_socket_nonblocking (cur->control_pipe[0]); /* Insert worker into worker's table, pid is index */ g_hash_table_insert (rspamd_main->workers, GSIZE_TO_POINTER ( |