Fixes a bug where rdesktop steals CPU cycles.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1749 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Henrik Andersson 2013-11-14 12:31:42 +00:00
parent 697c0f190d
commit 0cbef220a6

2
ctrl.c
View File

@ -406,7 +406,7 @@ ctrl_check_fds(fd_set * rfds, fd_set * wfds)
break;
}
if (res >= 0)
if (res > 0)
{
/* Check if we got full command line */
char *p;