summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
authorsteven_carr <steven_carr>2006-05-16 20:06:58 +0000
committersteven_carr <steven_carr>2006-05-16 20:06:58 +0000
commit2fa31ba4ea2581ea0886ec35daa4a19ca55e234d (patch)
treeece777948d4f41580d5868c353cf98345ec5285b /libvncserver
parent52fb63d51bb5db36899dcdc47a608cd3b9dc1001 (diff)
downloadlibtdevnc-2fa31ba4ea2581ea0886ec35daa4a19ca55e234d.tar.gz
libtdevnc-2fa31ba4ea2581ea0886ec35daa4a19ca55e234d.zip
Permit auth.c to test major version
Diffstat (limited to 'libvncserver')
-rw-r--r--libvncserver/rfbserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c
index 133007d..c86d7ca 100644
--- a/libvncserver/rfbserver.c
+++ b/libvncserver/rfbserver.c
@@ -629,6 +629,7 @@ rfbProcessClientProtocolVersion(rfbClientPtr cl)
* maintaining RFB version compatibility across multiple servers is a pain
* Should use something like ServerIdentity encoding
*/
+ cl->protocolMajorVersion = major_;
cl->protocolMinorVersion = minor_;
rfbLog("Protocol version sent %d.%d, using %d.%d\n",