]> source.dussan.org Git - rspamd.git/commitdiff
Initialize regexp library.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 6 Mar 2015 11:27:17 +0000 (11:27 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 6 Mar 2015 11:27:17 +0000 (11:27 +0000)
src/main.c

index f09ec32700218185e49409053833956cb74b2ba9..10b1c905f1edcc7c5f0780ce2f51652cc6baf976 100644 (file)
@@ -36,6 +36,7 @@
 #include "utlist.h"
 #include "libstat/stat_api.h"
 #include "cryptobox.h"
+#include "regexp.h"
 #ifdef HAVE_OPENSSL
 #include <openssl/rand.h>
 #include <openssl/err.h>
@@ -1164,6 +1165,8 @@ rspamd_init_libs (void)
        rlim.rlim_cur = 100 * 1024 * 1024;
        setrlimit (RLIMIT_STACK, &rlim);
 
+       rspamd_regexp_library_init ();
+
        event_init ();
 #ifdef GMIME_ENABLE_RFC2047_WORKAROUNDS
        g_mime_init (GMIME_ENABLE_RFC2047_WORKAROUNDS);