diff options
author | runge <runge> | 2006-07-28 20:28:16 +0000 |
---|---|---|
committer | runge <runge> | 2006-07-28 20:28:16 +0000 |
commit | 521f0338af52506e079a5075fbe9350904a67269 (patch) | |
tree | 42e67d78a1826f9c24520d52bcde91a9aaec2a2e /x11vnc/x11vnc.c | |
parent | 901729e3e04d13d0d7e701c6a6c014f4adc42ce6 (diff) | |
download | libtdevnc-521f0338af52506e079a5075fbe9350904a67269.tar.gz libtdevnc-521f0338af52506e079a5075fbe9350904a67269.zip |
x11vnc: -rotate option
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r-- | x11vnc/x11vnc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 0fd81e9..97985fa 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -1642,7 +1642,7 @@ int main(int argc, char* argv[]) { CHECK_ARGC passwdfile = strdup(argv[++i]); got_passwdfile = 1; -#ifndef REL8x +#ifndef NO_SSL_OR_UNIXPW } else if (strstr(arg, "-unixpw") == arg) { unixpw = 1; if (strstr(arg, "-unixpw_nis")) { @@ -1826,6 +1826,9 @@ int main(int argc, char* argv[]) { i++; } } + } else if (!strcmp(arg, "-rotate")) { + CHECK_ARGC + rotating_str = strdup(argv[++i]); } else if (!strcmp(arg, "-padgeom") || !strcmp(arg, "-padgeometry")) { CHECK_ARGC |