diff options
-rw-r--r-- | src/libstat/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/lua/lua_task.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libstat/CMakeLists.txt b/src/libstat/CMakeLists.txt index 19962239d..b1df5c1e6 100644 --- a/src/libstat/CMakeLists.txt +++ b/src/libstat/CMakeLists.txt @@ -11,6 +11,7 @@ SET(CLASSIFIERSSRC ${CMAKE_CURRENT_SOURCE_DIR}/classifiers/bayes.c SET(BACKENDSSRC ${CMAKE_CURRENT_SOURCE_DIR}/backends/mmaped_file.c ${CMAKE_CURRENT_SOURCE_DIR}/backends/sqlite3_backend.c ${CMAKE_CURRENT_SOURCE_DIR}/backends/cdb_backend.cxx + ${CMAKE_CURRENT_SOURCE_DIR}/backends/http_backend.cxx ${CMAKE_CURRENT_SOURCE_DIR}/backends/redis_backend.c) SET(CACHESSRC ${CMAKE_CURRENT_SOURCE_DIR}/learn_cache/sqlite3_cache.c diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 1b4bda858..26cb7e1e9 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -3864,7 +3864,7 @@ rspamd_check_real_recipients_array_size (GPtrArray *ar) struct rspamd_email_address *addr; PTR_ARRAY_FOREACH(ar, i, addr) { - if (!(addr->flags & LUA_ADDRESS_ORIGINAL)) { + if (!(addr->flags & RSPAMD_EMAIL_ADDR_ORIGINAL)) { ret ++; } } |