[BUG] fix broken health-checks since switch to timeval

Health-checks were broken because of a return which was unexpectedly removed.
This commit is contained in:
Willy Tarreau 2007-05-14 03:40:11 +02:00
parent 3c5340c35b
commit 8eee9c8457
1 changed files with 1 additions and 0 deletions

View File

@ -410,6 +410,7 @@ void process_chk(struct task *t, struct timeval *next)
tv_ms_add(&t->expire, &now, s->inter); tv_ms_add(&t->expire, &now, s->inter);
task_queue(t); /* restore t to its place in the task list */ task_queue(t); /* restore t to its place in the task list */
*next = t->expire; *next = t->expire;
return;
} }
else if (errno != EALREADY && errno != EISCONN && errno != EAGAIN) { else if (errno != EALREADY && errno != EISCONN && errno != EAGAIN) {
s->result = -1; /* a real error */ s->result = -1; /* a real error */