Always call bip_tick when select timeout
This commit is contained in:
parent
9df25a6423
commit
34baf6e841
@ -874,8 +874,9 @@ list_t *wait_event(list_t *cn_list, int *msec, int *nc)
|
|||||||
return cn_newdata;
|
return cn_newdata;
|
||||||
fatal("select(): %s", strerror(errno));
|
fatal("select(): %s", strerror(errno));
|
||||||
} else if (err == 0) {
|
} else if (err == 0) {
|
||||||
mylog(LOG_DEBUGTOOMUCH, "Select timed-out. irc.o timer !");
|
|
||||||
/* select timed-out */
|
/* select timed-out */
|
||||||
|
mylog(LOG_DEBUGTOOMUCH, "Select timed-out. irc.o timer !");
|
||||||
|
*msec = 0;
|
||||||
return cn_newdata;
|
return cn_newdata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user