comparison cli-channel.c @ 367:c046b66b76cd channel-fix

propagate from branch 'au.asn.ucc.matt.dropbear' (head 31dcd7a22983ef19d6c63248e415e71d292dd0ec) to branch 'au.asn.ucc.matt.dropbear.channel-fix' (head 7559a8cc4f6abe2338636f2aced3a395a79c172c)
author Matt Johnston <matt@ucc.asn.au>
date Thu, 12 Oct 2006 03:01:10 +0000
parents 1c7bf9cec6c8
children
comparison
equal deleted inserted replaced
366:59531221b846 367:c046b66b76cd
37 unsigned int datatype; 37 unsigned int datatype;
38 38
39 TRACE(("enter recv_msg_channel_extended_data")) 39 TRACE(("enter recv_msg_channel_extended_data"))
40 40
41 channel = getchannel(); 41 channel = getchannel();
42 if (channel == NULL) {
43 dropbear_exit("Unknown channel");
44 }
45 42
46 if (channel->type != &clichansess) { 43 if (channel->type != &clichansess) {
47 TRACE(("leave recv_msg_channel_extended_data: chantype is wrong")) 44 TRACE(("leave recv_msg_channel_extended_data: chantype is wrong"))
48 return; /* we just ignore it */ 45 return; /* we just ignore it */
49 } 46 }