summaryrefslogtreecommitdiffstats
path: root/libvncserver/cargs.c
diff options
context:
space:
mode:
authordscho <dscho>2005-09-28 16:51:50 +0000
committerdscho <dscho>2005-09-28 16:51:50 +0000
commit0a909fde7a283fb22c22bbdbc16bcf4c0fe391ec (patch)
tree9de5c473941fc3c2525a7cbc67fc416cee11efc0 /libvncserver/cargs.c
parent93be927b1c1c74bc4da6f6d5978ba8e6e52f3cc2 (diff)
downloadlibtdevnc-0a909fde7a283fb22c22bbdbc16bcf4c0fe391ec.tar.gz
libtdevnc-0a909fde7a283fb22c22bbdbc16bcf4c0fe391ec.zip
This monster commit contains support for TightVNC's file transfer protocol.
Thank you very much, Rohit!
Diffstat (limited to 'libvncserver/cargs.c')
-rw-r--r--libvncserver/cargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncserver/cargs.c b/libvncserver/cargs.c
index 10926a9..96b9f84 100644
--- a/libvncserver/cargs.c
+++ b/libvncserver/cargs.c
@@ -151,7 +151,7 @@ rfbProcessArguments(rfbScreenInfoPtr rfbScreen,int* argc, char *argv[])
for(extension=rfbGetExtensionIterator();handled==0 && extension;
extension=extension->next)
if(extension->processArgument)
- handled = extension->processArgument(argv + i);
+ handled = extension->processArgument(*argc - i, argv + i);
rfbReleaseExtensionIterator();
if(handled==0) {