commit 2f037bdeb3a36d61c2936e1c15b3efd08554569f parent 97f8de2287f6601b40d8b3c092fbe15e039debf5 Author: sin <sin@2f30.org> Date: Fri, 3 Jun 2016 20:04:49 +0100 Fix pfd initialization Diffstat:
M | ncmixer.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ncmixer.c b/ncmixer.c @@ -362,8 +362,8 @@ loop(void) int i, ret, clifd, nready; for (i = 0; i < LEN(pfd); i++) { - pfd[0].fd = -1; - pfd[0].events = 0; + pfd[i].fd = -1; + pfd[i].events = 0; } inputs[0].listenfd = server_listen(CH0_NAME);