On Thu, 15 Jan 2004 14:37:56 +0000 (GMT)
Trog <[EMAIL PROTECTED]> wrote:

> Quoting Tomasz Kojm <[EMAIL PROTECTED]>:
> 
> 
> > Oh, you're right - there was no chance to disable the timeout
> > (however clamav.conf states that 0 disables the limit). It's even
> > better to use:
> > 
> > if(timeout && ths[i].active)
> > 
> > instead of
> > 
> > if(timeout && (time(NULL) - ths[i].start > timeout))
> > 
> > I will fix it ASAP, thanks.
> > 
> 
> Your patch is incorrect. It will always be true for threads that are
> currently in use and they will instantly be killed.

I disagree. The patch does the same thing that yours.

Best regards,
Tomasz Kojm
-- 
      oo    .....       [EMAIL PROTECTED]         www.ClamAV.net
     (\/)\.........     http://www.clamav.net/gpg/tkojm.gpg
        \..........._   0DCA5A08407D5288279DB43454822DC8985A444B
          //\   /\      Thu Jan 15 17:27:59 CET 2004

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to