comparison cli-channel.c @ 419:b2f81110c80b channel-fix

propagate from branch 'au.asn.ucc.matt.dropbear' (head 924b731b50d4147eed8e9382c98a2573259a6cad) to branch 'au.asn.ucc.matt.dropbear.channel-fix' (head e73ee8f7ae404a9355685c30828a0ad4524031bc)
author Matt Johnston <matt@ucc.asn.au>
date Sun, 11 Feb 2007 09:55:00 +0000
parents 1c7bf9cec6c8
children
comparison
equal deleted inserted replaced
418:ab57ba0cb667 419:b2f81110c80b
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 }