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.
This commit is contained in:
matt335672 2023-01-12 15:13:01 +00:00
parent 78fa1c15b2
commit acdfd12cb6
1 changed files with 1 additions and 1 deletions

View File

@ -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;