diff --git a/libfreerdp/core/gcc.c b/libfreerdp/core/gcc.c index d9c6fe67a..957946fb1 100644 --- a/libfreerdp/core/gcc.c +++ b/libfreerdp/core/gcc.c @@ -288,7 +288,7 @@ void gcc_write_conference_create_response(wStream* s, wStream* userData) per_write_object_identifier(s, t124_02_98_oid); /* ConnectData::connectPDU (OCTET_STRING) */ - per_write_length(s, Stream_GetPosition(userData) + 2); + per_write_length(s, 0x2A); /* ConnectGCCPDU */ per_write_choice(s, 0x14);