proxy: fix treatment of client channels
Iteration on channels was done with the wrong counter leading to incorrect behaviour.
This commit is contained in:
parent
7212621eae
commit
7b84f2f740
@ -394,7 +394,7 @@ static BOOL pf_client_load_channels(freerdp* instance)
|
||||
{
|
||||
CHANNEL_DEF* channels = (CHANNEL_DEF*)freerdp_settings_get_pointer_array_writable(
|
||||
settings, FreeRDP_ChannelDefArray, 0);
|
||||
size_t x, size = freerdp_settings_get_uint32(settings, FreeRDP_ChannelDefArraySize);
|
||||
size_t x, size = freerdp_settings_get_uint32(settings, FreeRDP_ChannelCount);
|
||||
UINT32 id = MCS_GLOBAL_CHANNEL_ID + 1;
|
||||
|
||||
WINPR_ASSERT(channels || (size == 0));
|
||||
|
Loading…
Reference in New Issue
Block a user