summaryrefslogtreecommitdiffstats
path: root/x11vnc
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2009-11-11 18:18:23 +0100
committerJohannes Schindelin <johannes.schindelin@gmx.de>2009-11-12 13:21:19 +0100
commit49cdfb4c1f25b371474f3a355e205471daa08640 (patch)
treeb2e425dff5c687b4e72b84055693b2c7124a4736 /x11vnc
parent9ed410668c19ddd6b2c12709d6a5383e7f7a6e07 (diff)
downloadlibvncserver-49cdfb4c1f25b371474f3a355e205471daa08640.zip
libvncserver-49cdfb4c1f25b371474f3a355e205471daa08640.tar.gz
libvncclient: better return value for non-forking listen.
The return value now better reflects what has happened: 1 on success (incoming connection on listen socket, we accepted it successfully), -1 on error, 0 on timeout. Also change the select calls to not check _all_ possible file descriptors. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'x11vnc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud