mirror of
git://github.com/lxc/lxc
synced 2025-08-31 19:12:01 +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++) {
|
||||
if (i == j)
|
||||
continue;
|
||||
ev[idx] = descr->ev[idx];
|
||||
ev[idx] = descr->ev[j];
|
||||
idx++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user