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.
A.
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html