diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-10-02 16:34:06 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-10-02 16:34:06 +0000 |
commit | f6b57e653b5d283ec4619c90969eaa73e8d2ea49 (patch) | |
tree | ff7b5ce80a4dff6cab2d1fe5dfa05ac31a5520ac /cli-channel.c | |
parent | ad119354d31c16ebb2917b38a269e881fe53cb66 (diff) | |
download | dropbear-f6b57e653b5d283ec4619c90969eaa73e8d2ea49.tar.gz |
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
Diffstat (limited to 'cli-channel.c')
-rw-r--r-- | cli-channel.c | 3 |
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")) |