Merge pull request #10358 from akallabeth/caps-fix

[core,capabilities] fix CapsProtocolVersion
This commit is contained in:
akallabeth 2024-07-06 21:24:47 +02:00 committed by GitHub
commit 2c7000f70e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -221,8 +221,9 @@ static BOOL rdp_read_general_capability_set(wStream* s, rdpSettings* settings)
{
WLog_WARN(TAG,
"TS_GENERAL_CAPABILITYSET::protocolVersion(0x%04" PRIx16
" assuming old FreeRDP, ignoring protocol violation.",
" assuming old FreeRDP, ignoring protocol violation, correcting value.",
settings->CapsProtocolVersion);
settings->CapsProtocolVersion = TS_CAPS_PROTOCOLVERSION;
}
else
return FALSE;