From 0638c382f900681faaed38c96b4bfe0bbdc4843c Mon Sep 17 00:00:00 2001 From: David Fort Date: Fri, 22 Sep 2023 22:18:33 +0200 Subject: [PATCH] [core,nla] correctly print the value of earlyUserAuth The log was printing the previous value instead of the value that is set. --- libfreerdp/core/nla.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/core/nla.c b/libfreerdp/core/nla.c index 984e3852a..908873e35 100644 --- a/libfreerdp/core/nla.c +++ b/libfreerdp/core/nla.c @@ -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; }