mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 18:03:30 +08:00
fixed code style
This commit is contained in:
parent
c81e045cee
commit
82df1c97ae
@ -90,8 +90,11 @@ static void AddDefaultSettings_I(rdpSettings* settings, size_t idHostname, size_
|
||||
|
||||
if (PasswordNullTerminatedW)
|
||||
{
|
||||
if (!freerdp_settings_set_string_from_utf16(settings, idPassword, PasswordNullTerminatedW))
|
||||
if (!freerdp_settings_set_string_from_utf16(settings, idPassword,
|
||||
PasswordNullTerminatedW))
|
||||
{
|
||||
goto fail;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -149,6 +152,8 @@ fail:
|
||||
|
||||
void WINAPI AddDefaultSettings(rdpSettings* settings)
|
||||
{
|
||||
AddDefaultSettings_I(settings, FreeRDP_ServerHostname, FreeRDP_Username, FreeRDP_Domain, FreeRDP_Password);
|
||||
AddDefaultSettings_I(settings, FreeRDP_GatewayHostname, FreeRDP_GatewayUsername, FreeRDP_GatewayDomain, FreeRDP_GatewayPassword);
|
||||
AddDefaultSettings_I(settings, FreeRDP_ServerHostname, FreeRDP_Username, FreeRDP_Domain,
|
||||
FreeRDP_Password);
|
||||
AddDefaultSettings_I(settings, FreeRDP_GatewayHostname, FreeRDP_GatewayUsername,
|
||||
FreeRDP_GatewayDomain, FreeRDP_GatewayPassword);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user