Commit 312b3ca2 by Clement Calmels Committed by Daniel Lezcano

fix lxc_mainloop_del_handler

Fix bad index. Signed-off-by: 's avatarClement Calmels <clement.calmels@fr.ibm.com> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 77075659
...@@ -139,7 +139,7 @@ int lxc_mainloop_del_handler(struct lxc_epoll_descr *descr, int fd) ...@@ -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++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment