]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Make valgrind happy again
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 15 Jun 2018 14:31:16 +0000 (15:31 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 15 Jun 2018 14:31:16 +0000 (15:31 +0100)
contrib/t1ha/CMakeLists.txt

index 6c50d740deaf180bd5cde637aa084032476c5216..491010ff959b0697aee65c5069da7005c69ec817 100644 (file)
@@ -3,7 +3,7 @@ SET(T1HASRC     t1ha1.c
 
 ADD_LIBRARY(rspamd-t1ha STATIC ${T1HASRC})
 SET_TARGET_PROPERTIES(rspamd-t1ha PROPERTIES VERSION ${RSPAMD_VERSION})
-ADD_DEFINITIONS("-DT1HA_USE_FAST_ONESHOT_READ=1")
+ADD_DEFINITIONS("-DT1HA_USE_FAST_ONESHOT_READ=0")
 
 IF(ENABLE_FULL_DEBUG MATCHES "OFF")
     if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")