Browse code

fix support for *.fp databases

git-svn: trunk@1524

Tomasz Kojm authored on 2005/05/08 23:45:52
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Sun May  8 16:42:46 CEST 2005 (tk)
2
+----------------------------------
3
+  * sigtool/sigtool.c: fix support for *.fp databases
4
+
1 5
 Wed May  4 20:15:33 BST 2005 (njh)
2 6
 ----------------------------------
3 7
   * libclamav/mbox.c:	Remove old unused RFC1341 parts
... ...
@@ -271,7 +271,7 @@ int build(struct optstruct *opt)
271 271
 	mprintf("WARNING: There are no signatures in the database(s).\n");
272 272
     } else {
273 273
 	mprintf("Signatures: %d\n", no);
274
-	realno = countlines("main.db") + countlines("daily.db") + countlines("main.hdb") + countlines("daily.hdb") + countlines("main.ndb") + countlines("daily.ndb") + countlines("main.zmd") + countlines("daily.zmd") + countlines("main.rmd") + countlines("daily.rmd");
274
+	realno = countlines("main.db") + countlines("daily.db") + countlines("main.hdb") + countlines("daily.hdb") + countlines("main.ndb") + countlines("daily.ndb") + countlines("main.zmd") + countlines("daily.zmd") + countlines("main.rmd") + countlines("daily.rmd") + countlines("main.fp") + countlines("daily.fp");
275 275
 	if(realno != no) {
276 276
 	    mprintf("!Signatures in database: %d. Loaded: %d.\n", realno, no);
277 277
 	    mprintf("Please check the current directory and remove unnecessary databases\n");