diff options
author | runge <runge> | 2006-09-15 15:26:40 +0000 |
---|---|---|
committer | runge <runge> | 2006-09-15 15:26:40 +0000 |
commit | be2b77f2f28cf195e2dfe3556b05b06d7d440f05 (patch) | |
tree | a1c074350c4ab5ead739739877becc74404ebeca /x11vnc/screen.c | |
parent | 130cf391b60b93f187152cc10f389106caf1cbeb (diff) | |
download | libtdevnc-be2b77f2f28cf195e2dfe3556b05b06d7d440f05.tar.gz libtdevnc-be2b77f2f28cf195e2dfe3556b05b06d7d440f05.zip |
x11vnc: clear DISPLAY for -unixpw su_verify, user supplied sig ignore.
Diffstat (limited to 'x11vnc/screen.c')
-rw-r--r-- | x11vnc/screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/x11vnc/screen.c b/x11vnc/screen.c index 5b58375..fd3ce33 100644 --- a/x11vnc/screen.c +++ b/x11vnc/screen.c @@ -880,7 +880,8 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n"); if (! raw_fb_str) { return NULL; } - if (!strcasecmp(raw_fb_str, "NULL") || !strcasecmp(raw_fb_str, "ZERO")) { + if (!strcasecmp(raw_fb_str, "NULL") || !strcasecmp(raw_fb_str, "ZERO") + || !strcasecmp(raw_fb_str, "NONE")) { raw_fb_str = strdup("map:/dev/zero@640x480x32"); } if (!strcasecmp(raw_fb_str, "RAND")) { |