[core,aad] typedef AAD_STATE

This commit is contained in:
akallabeth 2023-03-08 15:09:14 +01:00 committed by akallabeth
parent 3d9eaf59dc
commit c5406d79c5

View File

@ -987,9 +987,9 @@ static int transport_default_read_pdu(rdpTransport* transport, wStream* s)
* reading in one byte at a time until we encounter the terminating null byte */
if (transport->AadMode)
{
BYTE c = '\0';
do
{
BYTE c = '\0';
const int rc = transport_read_layer(transport, &c, 1);
if (rc != 1)
return rc;