aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-14 12:39:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-14 12:39:56 +0100
commit8fd0795feffdde4dd3a9f2fbe8c6ba517be370bf (patch)
treef03452c979e1f630137d83340fbfb1a6d185c5fb /src/worker.c
parent1453b09a9885edc0a8aa99d728c01bc96db5bb86 (diff)
downloadrspamd-8fd0795feffdde4dd3a9f2fbe8c6ba517be370bf.tar.gz
rspamd-8fd0795feffdde4dd3a9f2fbe8c6ba517be370bf.zip
[Feature] Rework listening system to allow multiple socket types per worker
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c
index 735cbc6a9..d3e3fc4c8 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -50,7 +50,7 @@ worker_t normal_worker = {
init_worker, /* Init function */
start_worker, /* Start function */
RSPAMD_WORKER_HAS_SOCKET|RSPAMD_WORKER_KILLABLE,
- SOCK_STREAM, /* TCP socket */
+ RSPAMD_WORKER_SOCKET_TCP, /* TCP socket */
RSPAMD_WORKER_VER /* Version info */
};