Fixed character check. Used wrong version of patch previously.

This commit is contained in:
Ted Gould 2012-09-07 11:10:29 -05:00
parent 241b8af9e8
commit 9809d937ac

View File

@ -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);
}
}