libfreerdp-core/peer: add activated flag.

This commit is contained in:
Vic Lee 2012-06-24 22:20:45 +08:00
parent 9623fe7dc2
commit eaaedbe785
2 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,7 @@ struct rdp_freerdp_peer
uint32 ack_frame_id;
boolean local;
boolean activated;
};
FREERDP_API void freerdp_peer_context_new(freerdp_peer* client);

View File

@ -116,6 +116,8 @@ static boolean peer_recv_data_pdu(freerdp_peer* client, STREAM* s)
return false;
}
client->activated = true;
break;
case DATA_PDU_TYPE_SHUTDOWN_REQUEST: