Fixed handling of MaxThreads

git-svn: trunk@74
remotes/push_mirror/metadata
Nigel Horne 22 years ago
parent eff5a28311
commit 429f2e927a
  1. 4
      clamav-devel/ChangeLog
  2. 7
      clamav-devel/clamav-milter/clamav-milter.c

@ -1,3 +1,7 @@
Sun Oct 5 14:58:05 BST 2003 (njh)
----------------------------------
* clamav-milter: s/atoi(cpt->strarg)/cpt->numarg for MaxThreads
Sat Oct 4 20:04:39 CEST 2003 (tk)
----------------------------------
* clamav.conf: s/RemoveStaleSocket/FixStaleSocket (thanks to Kristof Petr)

@ -137,6 +137,9 @@
*
* Change History:
* $Log: clamav-milter.c,v $
* Revision 1.11 2003/10/05 13:57:47 nigelhorne
* Fixed handling of MaxThreads
*
* Revision 1.10 2003/10/03 11:54:53 nigelhorne
* Added white list of recipients
*
@ -153,7 +156,7 @@
* Added -f flag use MaxThreads if --max-children not set
*
*/
static char const rcsid[] = "$Id: clamav-milter.c,v 1.10 2003/10/03 11:54:53 nigelhorne Exp $";
static char const rcsid[] = "$Id: clamav-milter.c,v 1.11 2003/10/05 13:57:47 nigelhorne Exp $";
#define CM_VERSION "0.60j"
@ -483,7 +486,7 @@ main(int argc, char **argv)
* is set in the config file
*/
if((max_children == 0) && ((cpt = cfgopt(copt, "MaxThreads")) != NULL))
max_children = atoi(cpt->strarg);
max_children = cpt->numarg;
/*
* Get the outgoing socket details - the way to talk to clamd

Loading…
Cancel
Save