I couldn't test that option yet,

but it seems to use 0 .. 2*opt.wait for it's random waiting.

What if somebody wants to wait a longer time with different random
intervall... say wait from 20..30 seconds ?
Possibly it would be better giving random-wait a numeric option, and use
something like

--wait=25 --random-wait=10

waitsecs = opt.wait \
          + ( random() % (opt.randomwait + 1) ) \
          - opt.randomwait / 2  ;
if ( waitsecs > 0 )
  waitsecs = 0;


Heiko

-- 
-- PREVINET S.p.A.            [EMAIL PROTECTED]
-- Via Ferretto, 1            ph  x39-041-5907073
-- I-31021 Mogliano V.to (TV) fax x39-041-5907087
-- ITALY

Reply via email to