diff options
author | runge <runge> | 2006-11-24 02:04:33 +0000 |
---|---|---|
committer | runge <runge> | 2006-11-24 02:04:33 +0000 |
commit | 726cedb871a70aa6307df74e769605ee89bd52d0 (patch) | |
tree | c8845a8a6278ce0ca3fa2dffe666a82fe531c062 /x11vnc/x11vnc.c | |
parent | 43f38781696ec935ca4978c2ca9051f4764bdda0 (diff) | |
download | libtdevnc-726cedb871a70aa6307df74e769605ee89bd52d0.tar.gz libtdevnc-726cedb871a70aa6307df74e769605ee89bd52d0.zip |
install ss_vncviewer 755, -prog option, HTTPONCE new socket for -inetd.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r-- | x11vnc/x11vnc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 10ad532..fb3597c 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -1946,6 +1946,12 @@ int main(int argc, char* argv[]) { ; /* done above */ } else if (!strcmp(arg, "-env")) { i++; /* done above */ + } else if (!strcmp(arg, "-prog")) { + CHECK_ARGC + if (program_name) { + free(program_name); + } + program_name = strdup(argv[++i]); } else if (!strcmp(arg, "-h") || !strcmp(arg, "-help")) { print_help(0); } else if (!strcmp(arg, "-?") || !strcmp(arg, "-opts")) { |