summaryrefslogtreecommitdiffhomepage
path: root/cli-channel.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2006-10-02 16:34:06 +0000
committerMatt Johnston <matt@ucc.asn.au>2006-10-02 16:34:06 +0000
commitdf57eb382479e5719713c9cc02c2f06882f9b9a7 (patch)
treeff7b5ce80a4dff6cab2d1fe5dfa05ac31a5520ac /cli-channel.c
parent7e04c5e277665105cc9fe85bacb8f8e211722f02 (diff)
Rearranged some more bits, marked some areas that need work.
* send_msg_channel_data() no longer allocates a separate buffer * getchannel() handles unknown channels so callers don't have to --HG-- branch : channel-fix extra : convert_revision : 3db645581be0fbb0d2ac8d218fbd55e096cbbbe5
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"))