mirror of
git://github.com/lxc/lxc
synced 2025-09-03 20:09:35 +00:00
fix lxc_mainloop_del_handler
Fix bad index. Signed-off-by: Clement Calmels <clement.calmels@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
committed by
Daniel Lezcano
parent
7707565969
commit
312b3ca262
@@ -139,7 +139,7 @@ int lxc_mainloop_del_handler(struct lxc_epoll_descr *descr, int fd)
|
|||||||
for (j = 0; j < descr->nfds; j++) {
|
for (j = 0; j < descr->nfds; j++) {
|
||||||
if (i == j)
|
if (i == j)
|
||||||
continue;
|
continue;
|
||||||
ev[idx] = descr->ev[idx];
|
ev[idx] = descr->ev[j];
|
||||||
idx++;
|
idx++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user