Fixed grabage return value.

This commit is contained in:
Armin Novak 2015-06-23 12:08:47 +02:00
parent 212db120e0
commit 24fed46cda

View File

@ -200,7 +200,7 @@ static BOOL wts_read_drdynvc_data_first(rdpPeerChannel* channel, wStream* s, int
static BOOL wts_read_drdynvc_data(rdpPeerChannel* channel, wStream* s, UINT32 length)
{
BOOL ret;
BOOL ret = FALSE;
if (channel->dvc_total_length > 0)
{
if (Stream_GetPosition(channel->receiveData) + length > channel->dvc_total_length)