]> source.dussan.org Git - rspamd.git/commitdiff
Fix bug with mime parser behaviour.
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 17 Dec 2010 16:50:57 +0000 (19:50 +0300)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 17 Dec 2010 16:50:57 +0000 (19:50 +0300)
CMakeLists.txt
src/worker.c

index 4125b024983fcb2260989ebdc21c60f72f9a0aea..7b685e3e41f77bfca4dbd118d7361ce289c953e5 100644 (file)
@@ -15,7 +15,7 @@ SET(RSPAMD_MASTER_SITE_URL "http://bitbucket.org/vstakhov/rspamd")
 SET(RSPAMD_USER "nobody")
 SET(RSPAMD_GROUP "nobody")
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
 
 OPTION(DEBUG_MODE          "Enable debug output [default: ON]"                  ON)
 OPTION(ENABLE_OPTIMIZATION "Enable optimization [default: OFF]"                 OFF)
index d6112ff9de2b34b00bf36b8d8d837d310e799a58..ea3cbc8323bb617c83a4fc4164ad8d15fc0a2942 100644 (file)
@@ -741,6 +741,7 @@ init_worker (void)
 
        ctx = g_malloc0 (sizeof (struct rspamd_worker_ctx));
 
+       ctx->is_mime = TRUE;
        register_worker_opt (TYPE_WORKER, "mime", xml_handle_boolean, ctx, G_STRUCT_OFFSET (struct rspamd_worker_ctx, is_mime));
 
        return ctx;