Browse code

fix signature counting

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@823 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2004/09/04 05:27:46
Showing 2 changed files
... ...
@@ -1,6 +1,10 @@
1
+Fri Sep  3 22:25:52 CEST 2004 (tk)
2
+----------------------------------
3
+  * freshclam: fix signature counting (thanks to Tomasz Papszun)
4
+
1 5
 Fri Sep  3 19:55:57 CEST 2004 (tk)
2 6
 ----------------------------------
3
-  * libclamav: fallback to old method of EICAR file detection
7
+  * libclamav: revert to old method of EICAR file detection
4 8
 
5 9
 Fri Sep  3 17:00:28 BST 2004 (njh)
6 10
 ----------------------------------
... ...
@@ -245,6 +245,7 @@ int downloaddb(const char *localname, const char *remotename, const char *hostna
245 245
 	    logg("WARNING: Current functionality level = %d, required = %d\n", flevel, current->fl);
246 246
 	}
247 247
 
248
+	*signo += current->sigs;
248 249
 	cl_cvdfree(current);
249 250
 	return 1;
250 251
     }