]> source.dussan.org Git - rspamd.git/commitdiff
Fix accept event handling.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 24 Sep 2013 14:33:33 +0000 (15:33 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 24 Sep 2013 14:33:33 +0000 (15:33 +0100)
src/main.c

index 6b593f6389a670bc2790ea4565de3e225c51d840..c2447454e68dfa614ca3f4032ac7a7921dff6d9d 100644 (file)
@@ -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;
                                }
                        }