server: PostConnect should not be called again during reactivation.

This commit is contained in:
Vic Lee 2011-09-06 18:28:03 +08:00
parent 8a8e5fc5a4
commit af0c5e514d

View File

@ -86,6 +86,11 @@ static boolean peer_recv_data_pdu(rdpPeer* peer, STREAM* s)
{ {
if (!peer->client->PostConnect(peer->client)) if (!peer->client->PostConnect(peer->client))
return False; return False;
/**
* PostConnect should only be called once and should not be called
* after a reactivation sequence.
*/
peer->client->PostConnect = NULL;
} }
break; break;