Browse code

allow sigtool use a different flevel for db building purposes

Tomasz Kojm authored on 2010/03/16 20:18:08
Showing 2 changed files
... ...
@@ -55,6 +55,7 @@
55 55
 
56 56
 #define CL_FLEVEL 50
57 57
 #define CL_FLEVEL_DCONF	CL_FLEVEL
58
+#define CL_FLEVEL_SIGTOOL CL_FLEVEL
58 59
 
59 60
 extern uint8_t cli_debug_flag;
60 61
 
... ...
@@ -67,6 +67,7 @@
67 67
 #include "libclamav/default.h"
68 68
 #include "libclamav/fmap.h"
69 69
 #include "libclamav/readdb.h"
70
+#include "libclamav/others.h"
70 71
 
71 72
 #define MAX_DEL_LOOKAHEAD   200
72 73
 
... ...
@@ -795,7 +796,7 @@ static int build(const struct optstruct *opts)
795 795
 	    return -1;
796 796
 	}
797 797
     } else {
798
-	fl = cl_retflevel();
798
+	fl = CL_FLEVEL_SIGTOOL;
799 799
     }
800 800
     sprintf(header + strlen(header), "%u:", fl);
801 801