[core,nla] print name of error code in log

This commit is contained in:
Armin Novak 2023-07-12 14:26:04 +02:00 committed by akallabeth
parent b6f18e0559
commit 555fa2c98a
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}