libfreerdp-core/peer: add activated flag.
This commit is contained in:
parent
9623fe7dc2
commit
eaaedbe785
@ -70,6 +70,7 @@ struct rdp_freerdp_peer
|
|||||||
|
|
||||||
uint32 ack_frame_id;
|
uint32 ack_frame_id;
|
||||||
boolean local;
|
boolean local;
|
||||||
|
boolean activated;
|
||||||
};
|
};
|
||||||
|
|
||||||
FREERDP_API void freerdp_peer_context_new(freerdp_peer* client);
|
FREERDP_API void freerdp_peer_context_new(freerdp_peer* client);
|
||||||
|
@ -116,6 +116,8 @@ static boolean peer_recv_data_pdu(freerdp_peer* client, STREAM* s)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
client->activated = true;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DATA_PDU_TYPE_SHUTDOWN_REQUEST:
|
case DATA_PDU_TYPE_SHUTDOWN_REQUEST:
|
||||||
|
Loading…
Reference in New Issue
Block a user