summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.c
diff options
context:
space:
mode:
authorrunge <runge>2006-04-16 18:31:48 +0000
committerrunge <runge>2006-04-16 18:31:48 +0000
commit0ef122b61c4bc1f0652cd98fcc331e484b00ea0f (patch)
treed192e55f2d6ac15518913ab428d46e9583f02689 /x11vnc/x11vnc.c
parentd14cf0a84c88a02222caad1692228584b610aacc (diff)
downloadlibtdevnc-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.c15
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];