Change request from akallabeth

Change to allow username command line parameter to overwrite the .RDP
username
This commit is contained in:
bigpjo 2017-02-16 19:16:56 +00:00
parent f0a52d431d
commit 51b47890ef

View File

@ -2513,7 +2513,7 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
}
while ((arg = CommandLineFindNextArgumentA(arg)) != NULL);
if (!settings->Username && user)
if (user)
{
free(settings->Username);
if (!settings->Domain && user)