diff options
author | runge <runge> | 2006-04-16 18:31:48 +0000 |
---|---|---|
committer | runge <runge> | 2006-04-16 18:31:48 +0000 |
commit | 0ef122b61c4bc1f0652cd98fcc331e484b00ea0f (patch) | |
tree | d192e55f2d6ac15518913ab428d46e9583f02689 /x11vnc/x11vnc.c | |
parent | d14cf0a84c88a02222caad1692228584b610aacc (diff) | |
download | libtdevnc-0ef122b61c4bc1f0652cd98fcc331e484b00ea0f.tar.gz libtdevnc-0ef122b61c4bc1f0652cd98fcc331e484b00ea0f.zip |
Apache SSL gateway. More web proxy cases for Java and ssl_vncviewer.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r-- | x11vnc/x11vnc.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index e29101e..6e435eb 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -1439,6 +1439,21 @@ int main(int argc, char* argv[]) { exit(1); \ } + /* + * do a quick check for parameters that apply to "utility" + * commands, i.e. ones that do not run the server. + */ + for (i=1; i < argc; i++) { + arg = argv[i]; + if (strstr(arg, "--") == arg) { + arg++; + } + if (!strcmp(arg, "-ssldir")) { + CHECK_ARGC + ssl_certs_dir = strdup(argv[++i]); + } + } + for (i=1; i < argc; i++) { /* quick-n-dirty --option handling. */ arg = argv[i]; |