Fixed RDP debug message invalid function.
authorArmin Novak <armin.novak@thincast.com>
Fri, 6 Apr 2018 09:34:24 +0000 (11:34 +0200)
committerArmin Novak <armin.novak@thincast.com>
Fri, 6 Apr 2018 09:34:24 +0000 (11:34 +0200)
libfreerdp/core/fastpath.c

index 66b06d1..353e018 100644 (file)
@@ -348,7 +348,7 @@ static int fastpath_recv_update(rdpFastPath* fastpath, BYTE updateCode, wStream*
 #ifdef WITH_DEBUG_RDP
        DEBUG_RDP("recv Fast-Path %s Update (0x%02"PRIX8"), length:%"PRIuz"",
                  updateCode < ARRAYSIZE(FASTPATH_UPDATETYPE_STRINGS) ? FASTPATH_UPDATETYPE_STRINGS[updateCode] :
-                         "???", updateCode, Stream_GetLength(s));
+                         "???", updateCode, Stream_Length(s));
 #endif
 
        switch (updateCode)