[server,shadow] fix opaque settings build

This commit is contained in:
Armin Novak 2023-11-22 09:59:39 +01:00 committed by akallabeth
parent 615604e8f2
commit 9449c8c3df
1 changed files with 3 additions and 1 deletions

View File

@ -305,7 +305,9 @@ int shadow_server_parse_command_line(rdpShadowServer* server, int argc, char** a
} }
CommandLineSwitchCase(arg, "remote-guard") CommandLineSwitchCase(arg, "remote-guard")
{ {
settings->RemoteCredentialGuard = arg->Value ? TRUE : FALSE; if (!freerdp_settings_set_bool(settings, FreeRDP_RemoteCredentialGuard,
arg->Value ? TRUE : FALSE))
return COMMAND_LINE_ERROR;
} }
CommandLineSwitchCase(arg, "sec") CommandLineSwitchCase(arg, "sec")
{ {