diff options
author | Christian Beier <[email protected]> | 2009-11-11 18:18:23 +0100 |
---|---|---|
committer | Johannes Schindelin <[email protected]> | 2009-11-12 13:21:19 +0100 |
commit | 49cdfb4c1f25b371474f3a355e205471daa08640 (patch) | |
tree | b2e425dff5c687b4e72b84055693b2c7124a4736 /x11vnc/connections.c | |
parent | 9ed410668c19ddd6b2c12709d6a5383e7f7a6e07 (diff) | |
download | libtdevnc-49cdfb4c1f25b371474f3a355e205471daa08640.tar.gz libtdevnc-49cdfb4c1f25b371474f3a355e205471daa08640.zip |
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 <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
Diffstat (limited to 'x11vnc/connections.c')
0 files changed, 0 insertions, 0 deletions