mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-27 20:04:11 +08:00
Fixed character check. Used wrong version of patch previously.
This commit is contained in:
parent
241b8af9e8
commit
9809d937ac
@ -898,7 +898,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