Remove AwaitCapabilities
This commit is contained in:
parent
58d7e1a2be
commit
06c2ab76e0
@ -1467,7 +1467,6 @@ BOOL rdp_server_reactivate(rdpRdp* rdp)
|
||||
if (!rdp_send_demand_active(rdp))
|
||||
return FALSE;
|
||||
|
||||
rdp->AwaitCapabilities = TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@ -1492,7 +1491,6 @@ BOOL rdp_server_transition_to_state(rdpRdp* rdp, CONNECTION_STATE state)
|
||||
switch (state)
|
||||
{
|
||||
case CONNECTION_STATE_CAPABILITIES_EXCHANGE:
|
||||
rdp->AwaitCapabilities = FALSE;
|
||||
break;
|
||||
|
||||
case CONNECTION_STATE_FINALIZATION:
|
||||
|
@ -748,7 +748,6 @@ static int peer_recv_callback_internal(rdpTransport* transport, wStream* s, void
|
||||
}
|
||||
|
||||
case CONNECTION_STATE_CAPABILITIES_EXCHANGE:
|
||||
if (!rdp->AwaitCapabilities)
|
||||
{
|
||||
if (client->Capabilities && !client->Capabilities(client))
|
||||
{
|
||||
@ -762,8 +761,6 @@ static int peer_recv_callback_internal(rdpTransport* transport, wStream* s, void
|
||||
}
|
||||
else
|
||||
{
|
||||
rdp->AwaitCapabilities = TRUE;
|
||||
|
||||
if (s)
|
||||
{
|
||||
ret = peer_recv_pdu(client, s);
|
||||
|
@ -192,7 +192,7 @@ struct rdp_rdp
|
||||
UINT32 errorInfo;
|
||||
UINT32 finalize_sc_pdus;
|
||||
BOOL resendFocus;
|
||||
BOOL AwaitCapabilities;
|
||||
|
||||
UINT64 inBytes;
|
||||
UINT64 inPackets;
|
||||
UINT64 outBytes;
|
||||
|
Loading…
Reference in New Issue
Block a user