summaryrefslogtreecommitdiffstats
path: root/common/os_calls.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-03-25 17:12:15 +0000
committerjsorg71 <jsorg71>2006-03-25 17:12:15 +0000
commitda4f53d48c5ff38cb984691d54bdb1fbe30d2673 (patch)
tree684ae62ac53d31540112698b3d97fe050f7f560e /common/os_calls.c
parent65ed54cc95f5c2ed0af8be91abe89d3c919d024f (diff)
downloadxrdp-proprietary-da4f53d48c5ff38cb984691d54bdb1fbe30d2673.tar.gz
xrdp-proprietary-da4f53d48c5ff38cb984691d54bdb1fbe30d2673.zip
fix an error in tcp_select
Diffstat (limited to 'common/os_calls.c')
-rw-r--r--common/os_calls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/os_calls.c b/common/os_calls.c
index 75dfaa2d..7aa47c5a 100644
--- a/common/os_calls.c
+++ b/common/os_calls.c
@@ -429,6 +429,10 @@ g_tcp_select(int sck1, int sck2)
rv = rv | 2;
}
}
+ else
+ {
+ rv = 0;
+ }
return rv;
}