Re: number of clients is off by 1
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2009-06-16 20:41:01
|
Hi Val, On Tue, Jun 16, 2009 at 11:25 PM, Val Shkolnikov <Val...@no... > wrote: > Sorry if this has been posted before, this is my first use of the tool > (pretty good!). I noticed that the number of clients spawned is off by 1, > ie. if I ask for 150 clients, I get 149. Looking at the code I see that > clients are counted from 1 but the limits are all checked as “< > bctx->client_num_max”. A check for “<= bctx->client_num_max” would be more > appropriate. > > /Val Shkolnikov > Correct. If you can provide the patch against svn or the latest version, it would be very much appreciated. Thanks, -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |