Commit fccf2932 authored by Jean-Claude BAU's avatar Jean-Claude BAU Committed by Adam Wujek

bug fix: Adjust random time-out to 40% of its value (was 50%)

parent cd3ee739
......@@ -117,7 +117,7 @@ void pp_timeout_set(struct pp_instance *ppi, int index)
rval <<= 10;
rval ^= (unsigned int) (seed / 65536) % 1024;
millisec>>=1; /* keep 50% of the reference value */
millisec=(millisec<<1)/5; /* keep 40% of the reference value */
switch(to_config->which_rand) {
case RAND_70_130:
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment