* Andy Fiddaman <[EMAIL PROTECTED]> [20050625 16:27]: wrote: > > > On Sat, 25 Jun 2005, Odhiambo Washington wrote: > > ; I am trying to compile the CVS version on FreeBSD 4.11, but it fails > ; as follows: > ; > [.. snip ..] > ; > ; server-th.c: In function `acceptloop_th': > ; server-th.c:437: warning: passing arg 3 of `thrmgr_new' makes integer from > pointer without a cast > ; server-th.c:437: too few arguments to function `thrmgr_new' > ; *** Error code 1 > > change line 437 of server-th.c to the following: > > if((thr_pool=thrmgr_new(max_threads, 0, idletimeout, scanner_thread)) == > NULL) { > > i.e. add 0 as the second option - this is a maximum despatch queue size, > 0 means no limit.
That seems to solve the problem. However, I'd prefer if this was done in the CVS code because I don't maintain my own CVS for Clamav. When do you think it will be in CVS? -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <[EMAIL PROTECTED]> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Fuch's Warning: If you actually look like your passport photo, you aren't well enough to travel. _______________________________________________ http://lurker.clamav.net/list/clamav-users.html