diff options
author | steven_carr <steven_carr> | 2006-05-16 20:06:58 +0000 |
---|---|---|
committer | steven_carr <steven_carr> | 2006-05-16 20:06:58 +0000 |
commit | 2fa31ba4ea2581ea0886ec35daa4a19ca55e234d (patch) | |
tree | ece777948d4f41580d5868c353cf98345ec5285b | |
parent | 52fb63d51bb5db36899dcdc47a608cd3b9dc1001 (diff) | |
download | libtdevnc-2fa31ba4ea2581ea0886ec35daa4a19ca55e234d.tar.gz libtdevnc-2fa31ba4ea2581ea0886ec35daa4a19ca55e234d.zip |
Permit auth.c to test major version
-rw-r--r-- | libvncserver/rfbserver.c | 1 | ||||
-rw-r--r-- | rfb/rfb.h | 1 |
2 files changed, 2 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", @@ -421,6 +421,7 @@ typedef struct _rfbClientRec { char *host; /* RFB protocol minor version number */ + int protocolMajorVersion; int protocolMinorVersion; #ifdef LIBVNCSERVER_HAVE_LIBPTHREAD |