diff options
author | dscho <dscho> | 2001-10-10 23:56:04 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-10-10 23:56:04 +0000 |
commit | 519a8e0e399bf44893f2d61a3676f3257ab8d201 (patch) | |
tree | ee56f840edc32fc080adb4acbe83774ff6bdfebb /rfbserver.c | |
parent | fad7881732f39780fecd0a0c678392f002b88e26 (diff) | |
download | libvncserver-519a8e0e399bf44893f2d61a3676f3257ab8d201.zip libvncserver-519a8e0e399bf44893f2d61a3676f3257ab8d201.tar.gz |
copyrect corrections, fd_set in rfbNewClient, dox in rfb.h for pthreads
problem
Diffstat (limited to 'rfbserver.c')
-rw-r--r-- | rfbserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rfbserver.c b/rfbserver.c index 16cf8d6..51daae4 100644 --- a/rfbserver.c +++ b/rfbserver.c @@ -137,7 +137,6 @@ rfbNewClientConnection(rfbScreen,sock) if(cl!=NULL) newConnection(cl, (KEYBOARD_DEVICE|POINTER_DEVICE),1,1,1); #endif - FD_SET(sock,&(rfbScreen->allFds)); } @@ -194,6 +193,7 @@ rfbNewClient(rfbScreen,sock) cl = (rfbClientPtr)xalloc(sizeof(rfbClientRec)); + FD_SET(sock,&(rfbScreen->allFds)); cl->screen = rfbScreen; cl->sock = sock; getpeername(sock, (struct sockaddr *)&addr, &addrlen); |