mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
fix loop
This commit is contained in:
parent
25b3b4dde7
commit
089e7f65da
@ -425,7 +425,7 @@ OZ_DECLARE(zap_status_t) zap_interrupt_multiple_wait(zap_interrupt_t *interrupts
|
|||||||
return ZAP_TIMEOUT;
|
return ZAP_TIMEOUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = size; i < zap_array_len(ints); i++) {
|
for (i = 0; i < size; i++) {
|
||||||
if (ints[i].revents & POLLIN) {
|
if (ints[i].revents & POLLIN) {
|
||||||
res = read(ints[0].fd, pipebuf, sizeof(pipebuf));
|
res = read(ints[0].fd, pipebuf, sizeof(pipebuf));
|
||||||
if (res == -1) {
|
if (res == -1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user