This commit is contained in:
Armin Novak 2017-02-17 11:53:57 +01:00
parent 1ef55e7665
commit 4f3633b409

View File

@ -2530,6 +2530,8 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
settings->Username = user;
}
if (gwUser)
{
free(settings->GatewayUsername);
if (!settings->GatewayDomain && gwUser)
@ -2545,6 +2547,7 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
}
else
settings->GatewayUsername = gwUser;
}
freerdp_performance_flags_make(settings);