763
767
rv -= (int) (2 * rv * (rand() / (RAND_MAX + 1.0)));
764
768
//fprintf(stderr, "process_chk(%p): (%d+/-%d%%) random=%d\n", s, srv_getinter(s), global.spread_checks, rv);
770
774
//fprintf(stderr, "process_chk: 10\n");
771
775
/* failure or timeout detected */
772
776
if (s->health > s->rise) {