Browse code

fix debug message (closes bb#144)

git-svn: trunk@2506

Tomasz Kojm authored on 2006/11/18 08:53:44
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Sat Nov 18 00:51:08 CET 2006 (tk)
2
+---------------------------------
3
+  * libclamav/matcher.c: fix debug message (closes bb#144)
4
+
1 5
 Wed Nov 15 16:18:09 CET 2006 (tk)
2 6
 ---------------------------------
3 7
   * libclamav: + the AC matcher now keeps a track of partial matches to improve
... ...
@@ -709,7 +709,7 @@ static int cli_loadndb(FILE *fd, struct cl_engine **engine, unsigned int *signo,
709 709
 	    }
710 710
 
711 711
 	    if(atoi(pt) > cl_retflevel()) {
712
-		cli_dbgmsg("Signature for %s not loaded (required f-level: %d)\n", virname, cl_retflevel());
712
+		cli_dbgmsg("Signature for %s not loaded (required f-level: %d)\n", virname, atoi(pt));
713 713
 		sigs--;
714 714
 		free(virname);
715 715
 		free(pt);