aboutsummaryrefslogtreecommitdiffstats
path: root/src/smtp_proxy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-04 14:32:18 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-04 14:32:18 +0100
commitc442adeaa297aa760fe7c4fba63c1324056fcc79 (patch)
treef401b93691418a89d791e4174d2d41d1d8a1185b /src/smtp_proxy.c
parent007c2befbe517ac6d44830a7900c3ac3fdf6d634 (diff)
downloadrspamd-c442adeaa297aa760fe7c4fba63c1324056fcc79.tar.gz
rspamd-c442adeaa297aa760fe7c4fba63c1324056fcc79.zip
[Feature] Rework system of workers' flags
Diffstat (limited to 'src/smtp_proxy.c')
-rw-r--r--src/smtp_proxy.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/smtp_proxy.c b/src/smtp_proxy.c
index dca035993..3f9444b06 100644
--- a/src/smtp_proxy.c
+++ b/src/smtp_proxy.c
@@ -43,10 +43,7 @@ worker_t smtp_proxy_worker = {
"smtp_proxy", /* Name */
init_smtp_proxy, /* Init function */
start_smtp_proxy, /* Start function */
- TRUE, /* Has socket */
- FALSE, /* Non unique */
- FALSE, /* Non threaded */
- TRUE, /* Killable */
+ RSPAMD_WORKER_HAS_SOCKET | RSPAMD_WORKER_KILLABLE,
SOCK_STREAM, /* TCP socket */
RSPAMD_WORKER_VER /* Version info */
};