diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-06 11:27:17 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-06 11:27:17 +0000 |
commit | 5bce9da91161ad1a3b9f6ce3403d58b1048d8c35 (patch) | |
tree | ecbb86ba495116cdf3b4d1eb8d3725bed1193298 /src/main.c | |
parent | b66a09265f3e2c139b5b021a91aad4242d04de57 (diff) | |
download | rspamd-5bce9da91161ad1a3b9f6ce3403d58b1048d8c35.tar.gz rspamd-5bce9da91161ad1a3b9f6ce3403d58b1048d8c35.zip |
Initialize regexp library.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index f09ec3270..10b1c905f 100644 --- a/src/main.c +++ b/src/main.c @@ -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); |