Fix for #3627
This commit is contained in:
parent
1ef55e7665
commit
4f3633b409
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user