[channel,client] update channel pointer

in generic_on_new_channel_connection set the channel pointer to the
current value.
This commit is contained in:
Armin Novak 2024-03-14 15:45:45 +01:00 committed by Martin Fleisz
parent 98aeb54e83
commit 35430cf191

View File

@ -53,6 +53,8 @@ static UINT generic_on_new_channel_connection(IWTSListenerCallback* pListenerCal
callback->channel = pChannel;
listener_callback->channel_callback = callback;
listener_callback->channel = pChannel;
*ppCallback = (IWTSVirtualChannelCallback*)callback;
return CHANNEL_RC_OK;
}