From b6665693d79f7b1390f86c7a95d7dc4178d75ff6 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 7 Sep 2012 11:10:29 -0500 Subject: [PATCH] Fixed character check. Used wrong version of patch previously. (cherry picked from commit 9809d937ac480399de775f7e00446c480ed7c1bb) --- libfreerdp-utils/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp-utils/args.c b/libfreerdp-utils/args.c index c0649e646..67fb7a13a 100644 --- a/libfreerdp-utils/args.c +++ b/libfreerdp-utils/args.c @@ -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); } }