From 2a785df779fe66a556bea2f07bfd26f954abcaf3 Mon Sep 17 00:00:00 2001 From: Tomasz Kojm Date: Mon, 3 Nov 2003 23:47:40 +0000 Subject: [PATCH] Fixed signature counter in clamd. git-svn: trunk@94 --- clamav-devel/ChangeLog | 4 ++++ clamav-devel/README | 9 +++++++-- clamav-devel/clamd/server.c | 3 ++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/clamav-devel/ChangeLog b/clamav-devel/ChangeLog index 3baeefb20..4a01cd3a6 100644 --- a/clamav-devel/ChangeLog +++ b/clamav-devel/ChangeLog @@ -1,3 +1,7 @@ +Tue Nov 4 00:37:03 CET 2003 (tk) +--------------------------------- + * clamd: fixed signature counter (thanks to Dirk Kraemer) + Sun Nov 2 01:07:46 CET 2003 (tk) --------------------------------- * freshclam: do not use IP address in database request (thanks to Luca diff --git a/clamav-devel/README b/clamav-devel/README index 67548885c..e90c89b69 100644 --- a/clamav-devel/README +++ b/clamav-devel/README @@ -42,8 +42,13 @@ here may not be available in the binary packages. Erick Ivaan Lopez Carreon - - +New list of compatible software (see clamdoc.pdf for details): + + IVS Milter + + smtp-vilter + + scanexi + + Mail::ClamAV + + OpenAntiVirus samba-vscan + diff --git a/clamav-devel/clamd/server.c b/clamav-devel/clamd/server.c index 73bf95a38..ce68fcf9c 100644 --- a/clamav-devel/clamd/server.c +++ b/clamav-devel/clamd/server.c @@ -119,7 +119,7 @@ void *threadwatcher(void *arg) sigset_t sigset; int i, j, ret, maxwait; unsigned long int timer = 0; - unsigned int timeout, threads, virnum, selfchk; + unsigned int timeout, threads, selfchk; short int need_wait = 0, do_loop = 0, db_problem = 0; const char *dbdir; struct cl_stat dbstat; @@ -322,6 +322,7 @@ void *threadwatcher(void *arg) logg("Reading databases from %s\n", dbdir); + virnum = 0; if((ret = cl_loaddbdir(dbdir, &*thwarg->root, &virnum))) { logg("!%s\n", cl_strerror(ret)); kill(progpid, SIGTERM);