mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[core,capabilties] use dynamic logger
This commit is contained in:
@@ -2037,14 +2037,16 @@ BOOL freerdp_settings_update_from_caps(rdpSettings* settings, const BYTE* capsFl
|
||||
WINPR_ASSERT(capsSizes || (capsCount == 0));
|
||||
WINPR_ASSERT(capsCount <= UINT16_MAX);
|
||||
|
||||
wLog* log = WLog_Get(TAG);
|
||||
|
||||
for (UINT32 x = 0; x < capsCount; x++)
|
||||
{
|
||||
if (capsFlags[x])
|
||||
{
|
||||
wStream buffer;
|
||||
wStream buffer = { 0 };
|
||||
wStream* sub = Stream_StaticConstInit(&buffer, capsData[x], capsSizes[x]);
|
||||
|
||||
if (!rdp_read_capability_set(sub, (UINT16)x, settings, serverReceivedCaps))
|
||||
if (!rdp_read_capability_set(log, sub, (UINT16)x, settings, serverReceivedCaps))
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user