I've solved.
The boolean value in config file are yes or no :) 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> McDonald, Dan
> Sent: lunedì 16 ottobre 2006 16.32
> To: ClamAV users ML
> Subject: Re: [Clamav-users] Config problem with 0.90RC1
> 
> On Mon, 2006-10-16 at 14:23 +0100, Stephen Gran wrote:
> > On Mon, Oct 16, 2006 at 08:55:24AM -0400, Robert Blayzor said:
> > > Balzi Andrea wrote:
> > > > FixStaleSocket
> > > >               Remove stale socket after unclean shutdown.
> > > >               Default: disabled
> > > > 
> > > > What are the value to setup it? True? 1?
> > > 
> > > 
> > > Perhaps the config parser could be made smart enough to accept 
> > > (0|1)|(true|false)|(on|off).  Then bool wouldn't be in question.
> > 
> > if(!strcasecmp(arg, "yes") || !strcmp(arg, "1") || !strcasecmp(arg, 
> > "true")) {
> > 
> > That's exactly what it does.
> 
> Except it doesn't allow "on", which Robert suggested was a 
> potential answer, I assume from analogy with apache config files.
> 
> 
> --
> Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX Austin 
> Energy http://www.austinenergy.com 
> _______________________________________________
> http://lurker.clamav.net/list/clamav-users.html
> 
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to