mirror of https://github.com/neutrinolabs/xrdp
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:
parent
78fa1c15b2
commit
acdfd12cb6
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue