mirror of https://github.com/FreeRDP/FreeRDP
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 (PasswordNullTerminatedW)
|
||||||
{
|
{
|
||||||
if (!freerdp_settings_set_string_from_utf16(settings, idPassword, PasswordNullTerminatedW))
|
if (!freerdp_settings_set_string_from_utf16(settings, idPassword,
|
||||||
|
PasswordNullTerminatedW))
|
||||||
|
{
|
||||||
goto fail;
|
goto fail;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -149,6 +152,8 @@ fail:
|
||||||
|
|
||||||
void WINAPI AddDefaultSettings(rdpSettings* settings)
|
void WINAPI AddDefaultSettings(rdpSettings* settings)
|
||||||
{
|
{
|
||||||
AddDefaultSettings_I(settings, FreeRDP_ServerHostname, FreeRDP_Username, FreeRDP_Domain, FreeRDP_Password);
|
AddDefaultSettings_I(settings, FreeRDP_ServerHostname, FreeRDP_Username, FreeRDP_Domain,
|
||||||
AddDefaultSettings_I(settings, FreeRDP_GatewayHostname, FreeRDP_GatewayUsername, FreeRDP_GatewayDomain, FreeRDP_GatewayPassword);
|
FreeRDP_Password);
|
||||||
|
AddDefaultSettings_I(settings, FreeRDP_GatewayHostname, FreeRDP_GatewayUsername,
|
||||||
|
FreeRDP_GatewayDomain, FreeRDP_GatewayPassword);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue