[core,nla] correctly print the value of earlyUserAuth

The log was printing the previous value instead of the value that is set.
This commit is contained in:
David Fort 2023-09-22 22:18:33 +02:00 committed by Martin Fleisz
parent c177299974
commit 0638c382f9

View File

@ -148,7 +148,7 @@ static BOOL nla_decrypt_ts_credentials(rdpNla* nla);
void nla_set_early_user_auth(rdpNla* nla, BOOL earlyUserAuth)
{
WINPR_ASSERT(nla);
WLog_DBG(TAG, "Early User Auth active: %s", nla->earlyUserAuth ? "true" : "false");
WLog_DBG(TAG, "Early User Auth active: %s", earlyUserAuth ? "true" : "false");
nla->earlyUserAuth = earlyUserAuth;
}