Browse code

Fixed signature counter in clamd.

git-svn: trunk@94

Tomasz Kojm authored on 2003/11/04 08:47:40
Showing 3 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Nov  4 00:37:03 CET 2003 (tk)
2
+---------------------------------
3
+  * clamd: fixed signature counter (thanks to Dirk Kraemer)
4
+
1 5
 Sun Nov  2 01:07:46 CET 2003 (tk)
2 6
 ---------------------------------
3 7
   * freshclam: do not use IP address in database request (thanks to Luca
... ...
@@ -42,8 +42,13 @@ here may not be available in the binary packages.
42 42
       Erick Ivaan Lopez Carreon
43 43
 
44 44
 
45
-
46
-
45
+New list of compatible software (see clamdoc.pdf for details):
46
+    + IVS Milter
47
+    + smtp-vilter
48
+    + scanexi
49
+    + Mail::ClamAV
50
+    + OpenAntiVirus samba-vscan
51
+    
47 52
 
48 53
 
49 54
 
... ...
@@ -119,7 +119,7 @@ void *threadwatcher(void *arg)
119 119
 	sigset_t sigset;
120 120
 	int i, j, ret, maxwait;
121 121
 	unsigned long int timer = 0;
122
-	unsigned int timeout, threads, virnum, selfchk;
122
+	unsigned int timeout, threads, selfchk;
123 123
 	short int need_wait = 0, do_loop = 0, db_problem = 0;
124 124
 	const char *dbdir;
125 125
 	struct cl_stat dbstat;
... ...
@@ -322,6 +322,7 @@ void *threadwatcher(void *arg)
322 322
 
323 323
 	    logg("Reading databases from %s\n", dbdir);
324 324
 
325
+	    virnum = 0;
325 326
 	    if((ret = cl_loaddbdir(dbdir, &*thwarg->root, &virnum))) {
326 327
 		logg("!%s\n", cl_strerror(ret));
327 328
 		kill(progpid, SIGTERM);