Merge pull request #10399 from hedwigz/patch-2

Update smartcard_pack.c
This commit is contained in:
akallabeth 2024-07-22 08:01:01 +02:00 committed by GitHub
commit fa75f223a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -836,7 +836,7 @@ static void smartcard_trace_write_cache_a_call(const WriteCacheA_Call* call)
if (!WLog_IsLevelActive(WLog_Get(TAG), g_LogLevel))
return;
WLog_LVL(TAG, g_LogLevel, "GetTransmitCount_Call {");
WLog_LVL(TAG, g_LogLevel, "WriteCacheA_Call {");
WLog_LVL(TAG, g_LogLevel, " szLookupName=%s", call->szLookupName);
@ -860,7 +860,7 @@ static void smartcard_trace_write_cache_w_call(const WriteCacheW_Call* call)
if (!WLog_IsLevelActive(WLog_Get(TAG), g_LogLevel))
return;
WLog_LVL(TAG, g_LogLevel, "GetTransmitCount_Call {");
WLog_LVL(TAG, g_LogLevel, "WriteCacheW_Call {");
if (call->szLookupName)
ConvertWCharToUtf8(call->szLookupName, tmp, ARRAYSIZE(tmp));
@ -885,7 +885,7 @@ static void smartcard_trace_read_cache_a_call(const ReadCacheA_Call* call)
if (!WLog_IsLevelActive(WLog_Get(TAG), g_LogLevel))
return;
WLog_LVL(TAG, g_LogLevel, "GetTransmitCount_Call {");
WLog_LVL(TAG, g_LogLevel, "ReadCacheA_Call {");
WLog_LVL(TAG, g_LogLevel, " szLookupName=%s", call->szLookupName);
smartcard_log_context(TAG, &call->Common.handles.hContext);
@ -907,7 +907,7 @@ static void smartcard_trace_read_cache_w_call(const ReadCacheW_Call* call)
if (!WLog_IsLevelActive(WLog_Get(TAG), g_LogLevel))
return;
WLog_LVL(TAG, g_LogLevel, "GetTransmitCount_Call {");
WLog_LVL(TAG, g_LogLevel, "ReadCacheW_Call {");
if (call->szLookupName)
ConvertWCharToUtf8(call->szLookupName, tmp, ARRAYSIZE(tmp));
WLog_LVL(TAG, g_LogLevel, " szLookupName=%s", tmp);