From 555fa2c98a079f3d9e94ca42d75bff095c168d74 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 12 Jul 2023 14:26:04 +0200 Subject: [PATCH] [core,nla] print name of error code in log --- libfreerdp/core/nla.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libfreerdp/core/nla.c b/libfreerdp/core/nla.c index b45f6bd3b..984e3852a 100644 --- a/libfreerdp/core/nla.c +++ b/libfreerdp/core/nla.c @@ -1650,7 +1650,8 @@ int nla_recv_pdu(rdpNla* nla, wStream* s) break; default: - WLog_ERR(TAG, "SPNEGO failed with NTSTATUS: 0x%08" PRIX32 "", nla->errorCode); + WLog_ERR(TAG, "SPNEGO failed with NTSTATUS: %s [0x%08" PRIX32 "]", + NtStatus2Tag(nla->errorCode), nla->errorCode); code = FREERDP_ERROR_AUTHENTICATION_FAILED; break; }