Fixed incorrect parser error message.

This commit is contained in:
akallabeth 2020-04-06 10:42:06 +02:00
parent a022958ddf
commit df55f40ecf

View File

@ -3811,7 +3811,7 @@ static BOOL rdp_read_capability_sets(wStream* s, rdpSettings* settings, UINT16 n
WLog_ERR(TAG,
"incorrect offset, type:0x%04" PRIX16 " actual:%" PRIuz " expected:%" PRIu16
"",
type, rest + length, length);
type, length - rest, length);
}
numberCapabilities--;