diff options
author | steven_carr <steven_carr> | 2006-05-15 18:17:31 +0000 |
---|---|---|
committer | steven_carr <steven_carr> | 2006-05-15 18:17:31 +0000 |
commit | 1c3af68549c544de065ceedec518449ee8cff49d (patch) | |
tree | 0c5638ca7dc34fa2101d7b7e3280b387ee07f1a6 /libvncserver/main.c | |
parent | ccdbe8f3256c3c776a1cc1a0517a38437b9e2c65 (diff) | |
download | libtdevnc-1c3af68549c544de065ceedec518449ee8cff49d.tar.gz libtdevnc-1c3af68549c544de065ceedec518449ee8cff49d.zip |
Default to RFB 3.8, add command line option to specify the RFB version.
Diffstat (limited to 'libvncserver/main.c')
-rw-r--r-- | libvncserver/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libvncserver/main.c b/libvncserver/main.c index cded456..ee5af4a 100644 --- a/libvncserver/main.c +++ b/libvncserver/main.c @@ -836,9 +836,10 @@ rfbScreenInfoPtr rfbGetScreen(int* argc,char** argv, screen->handleEventsEagerly = FALSE; - /* Emulate UltraVNC Server by default */ - screen->protocolMajorVersion = 3; - screen->protocolMinorVersion = 6; + screen->protocolMajorVersion = rfbProtocolMajorVersion; + screen->protocolMinorVersion = rfbProtocolMinorVersion; + + screen->permitFileTransfer = FALSE; if(!rfbProcessArguments(screen,argc,argv)) { free(screen); |