* libfreerdp-channels: fix remdesk, encomsp channel event handling
This commit is contained in:
parent
1ce00d9084
commit
135d508a78
@ -1171,6 +1171,9 @@ static VOID VCAPITYPE encomsp_virtual_channel_init_event_ex(LPVOID lpUserParam,
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case CHANNEL_EVENT_INITIALIZED:
|
||||
break;
|
||||
|
||||
case CHANNEL_EVENT_CONNECTED:
|
||||
if ((error = encomsp_virtual_channel_event_connected(encomsp, pData, dataLength)))
|
||||
WLog_ERR(TAG,
|
||||
|
@ -819,6 +819,9 @@ static VOID VCAPITYPE remdesk_virtual_channel_open_event_ex(LPVOID lpUserParam,
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case CHANNEL_EVENT_INITIALIZED:
|
||||
break;
|
||||
|
||||
case CHANNEL_EVENT_DATA_RECEIVED:
|
||||
if (!remdesk || (remdesk->OpenHandle != openHandle))
|
||||
{
|
||||
@ -848,6 +851,7 @@ static VOID VCAPITYPE remdesk_virtual_channel_open_event_ex(LPVOID lpUserParam,
|
||||
default:
|
||||
WLog_ERR(TAG, "unhandled event %" PRIu32 "!", event);
|
||||
error = ERROR_INTERNAL_ERROR;
|
||||
break;
|
||||
}
|
||||
|
||||
if (error && remdesk && remdesk->rdpcontext)
|
||||
|
Loading…
Reference in New Issue
Block a user