Fixed #4629: Only call freerdp_channels_post_connect when it was connected.
authorArmin Novak <armin.novak@gmail.com>
Sun, 6 May 2018 09:17:08 +0000 (11:17 +0200)
committerArmin Novak <armin.novak@thincast.com>
Fri, 11 May 2018 08:49:29 +0000 (10:49 +0200)
commite1ea441275e14317281025190ea17100b95e1e16
treed815c52b26d76505aa030c795e59924857c04009
parent6e958e7edb4b4c32fce5a000ef8c36bc12b2c37f
Fixed #4629: Only call freerdp_channels_post_connect when it was connected.

In rdp_client_redirect or rdp_client_reconnect freerdp_channels_post_connect must
be called if the channels were connected previously.
This might not be the case, skip that call then.
libfreerdp/core/connection.c