diff options
author | dscho <dscho> | 2001-11-18 21:58:58 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-11-18 21:58:58 +0000 |
commit | e0168dbd9ae5e598f6564aa811cdb252330524c1 (patch) | |
tree | 31e899f132a91910c7a0090803a225bc6e9cfbfb /rfbserver.c | |
parent | 4415df9540afd86671f9169c1542536c71000180 (diff) | |
download | libtdevnc-e0168dbd9ae5e598f6564aa811cdb252330524c1.tar.gz libtdevnc-e0168dbd9ae5e598f6564aa811cdb252330524c1.zip |
start x11vnc, an x0rfbserver clone
Diffstat (limited to 'rfbserver.c')
-rw-r--r-- | rfbserver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rfbserver.c b/rfbserver.c index b75d1c7..34ac38e 100644 --- a/rfbserver.c +++ b/rfbserver.c @@ -328,7 +328,8 @@ rfbClientConnectionGone(cl) } #endif - FD_CLR(cl->sock,&(cl->screen->allFds)); + if(cl->sock>=0) + FD_CLR(cl->sock,&(cl->screen->allFds)); cl->clientGoneHook(cl); |