From acdfd12cb6c60d348d45124cb1479e9e485e006f Mon Sep 17 00:00:00 2001 From: matt335672 <30179339+matt335672@users.noreply.github.com> Date: Thu, 12 Jan 2023 15:13:01 +0000 Subject: [PATCH] Fix typo in chansrv_fuse.c The code as it stands is checking two file descriptors for possible input, but only one needs to be checked. --- sesman/chansrv/chansrv_fuse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sesman/chansrv/chansrv_fuse.c b/sesman/chansrv/chansrv_fuse.c index bbaa9e12..c89af18b 100644 --- a/sesman/chansrv/chansrv_fuse.c +++ b/sesman/chansrv/chansrv_fuse.c @@ -675,7 +675,7 @@ int xfuse_check_wait_objs(void) return 0; } - if (g_tcp_select(g_fd, 0) & 1) + if (g_sck_can_recv(g_fd, 0)) { tmpch = g_ch;