libfreerdp-chanman: remove unneeded checking.
This commit is contained in:
parent
823ae345da
commit
e88d209d0c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user