mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 14:14:16 +00:00
fix loop
This commit is contained in:
1 parent
25b3b4dde7
commit
089e7f65da
1 file changed
+1
-1
@@ -425,7 +425,7 @@ OZ_DECLARE(zap_status_t) zap_interrupt_multiple_wait(zap_interrupt_t *interrupts
|
||||
return ZAP_TIMEOUT;
|
||||
}
|
||||
|
||||
for (i = size; i < zap_array_len(ints); i++) {
|
||||
for (i = 0; i < size; i++) {
|
||||
if (ints[i].revents & POLLIN) {
|
||||
res = read(ints[0].fd, pipebuf, sizeof(pipebuf));
|
||||
if (res == -1) {
|
||||
|
||||
Reference in new issue
Block a user