1
0
forked from bip/bip

Always call bip_tick when select timeout

This commit is contained in:
Pierre-Louis Bonicoli 2015-07-10 11:49:30 +02:00
parent 9df25a6423
commit 34baf6e841

View File

@ -874,8 +874,9 @@ list_t *wait_event(list_t *cn_list, int *msec, int *nc)
return cn_newdata;
fatal("select(): %s", strerror(errno));
} else if (err == 0) {
mylog(LOG_DEBUGTOOMUCH, "Select timed-out. irc.o timer !");
/* select timed-out */
mylog(LOG_DEBUGTOOMUCH, "Select timed-out. irc.o timer !");
*msec = 0;
return cn_newdata;
}