Fixed grabage return value.
authorArmin Novak <armin.novak@thincast.com>
Tue, 23 Jun 2015 10:08:47 +0000 (12:08 +0200)
committerArmin Novak <armin.novak@thincast.com>
Tue, 23 Jun 2015 10:08:47 +0000 (12:08 +0200)
libfreerdp/core/server.c

index 43caebc..0806ab8 100644 (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)