aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-09-24 15:33:33 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-09-24 15:33:33 +0100
commit1aaa5ef8c665781a8ed2c7cd4200d6938be4ef38 (patch)
tree88a3126031364a14a815e1f4b7b150969c34f7df /src/main.c
parented0730ba126c074c8da3c897c9e02d82d371548e (diff)
downloadrspamd-1aaa5ef8c665781a8ed2c7cd4200d6938be4ef38.tar.gz
rspamd-1aaa5ef8c665781a8ed2c7cd4200d6938be4ef38.zip
Fix accept event handling.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 6b593f638..c2447454e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -642,7 +642,7 @@ spawn_workers (struct rspamd_main *rspamd)
/* We had socket for this type of worker */
ls = p;
}
- cf->listen_socks = g_list_prepend (cf->listen_socks, ls);
+ cf->listen_socks = ls;
}
}