Fixed character check. Used wrong version of patch previously.
(cherry picked from commit 9809d937ac
)
This commit is contained in:
parent
ee0cc492fd
commit
b6665693d7
@ -749,7 +749,7 @@ int freerdp_parse_args(rdpSettings* settings, int argc, char** argv,
|
||||
if (scanf("%511s", input) > 0) {
|
||||
/* Try to catch the cases where the string is NULL-ish right
|
||||
at the get go */
|
||||
if (input[0] != '\0' || (input[0] == ' ' && input[1] == '\0')) {
|
||||
if (input[0] != '\0' && !(input[0] == '.' && input[1] == '\0')) {
|
||||
settings->domain = xstrdup(input);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user