diff options
author | runge <runge> | 2006-09-18 00:22:13 +0000 |
---|---|---|
committer | runge <runge> | 2006-09-18 00:22:13 +0000 |
commit | 3d00472a9c2878c4526311e2e820583a04e85817 (patch) | |
tree | 937a1b818e6a7495741054eb698ba8c34bcb135e /libvncserver | |
parent | 462c30db7d8e78a7ca6541ee20bf9fa59aca2e87 (diff) | |
download | libtdevnc-3d00472a9c2878c4526311e2e820583a04e85817.tar.gz libtdevnc-3d00472a9c2878c4526311e2e820583a04e85817.zip |
x11vnc: improve ultravnc filexfer rate by calling rfbCheckFD more often
Diffstat (limited to 'libvncserver')
-rw-r--r-- | libvncserver/rfbserver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c index eebbd47..7335ac0 100644 --- a/libvncserver/rfbserver.c +++ b/libvncserver/rfbserver.c @@ -1292,8 +1292,9 @@ rfbBool rfbSendFileTransferChunk(rfbClientPtr cl) tv.tv_usec = 0; n = select(cl->sock + 1, NULL, &wfds, NULL, &tv); - if (n<1) + if (n<0) { rfbLog("rfbSendFileTransferChunk() select failed: %s\n", strerror(errno)); + } /* We have space on the transmit queue */ if (n > 0) { |