mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
libfreerdp-chanman: remove unneeded checking.
This commit is contained in:
@@ -408,11 +408,6 @@ static uint32 FREERDP_CC MyVirtualChannelClose(uint32 openHandle)
|
||||
DEBUG_CHANMAN("error bad chanhan");
|
||||
return CHANNEL_RC_BAD_CHANNEL_HANDLE;
|
||||
}
|
||||
if (!chan_man->is_connected)
|
||||
{
|
||||
DEBUG_CHANMAN("error not connected");
|
||||
return CHANNEL_RC_NOT_CONNECTED;
|
||||
}
|
||||
lchan = chan_man->chans + index;
|
||||
if (lchan->flags != 2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user