summaryrefslogtreecommitdiff
path: root/cli-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-channel.c')
-rw-r--r--cli-channel.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cli-channel.c b/cli-channel.c
index 1bd49ab..b88e913 100644
--- a/cli-channel.c
+++ b/cli-channel.c
@@ -39,9 +39,6 @@ void recv_msg_channel_extended_data() {
TRACE(("enter recv_msg_channel_extended_data"))
channel = getchannel();
- if (channel == NULL) {
- dropbear_exit("Unknown channel");
- }
if (channel->type != &clichansess) {
TRACE(("leave recv_msg_channel_extended_data: chantype is wrong"))