* fix longstanding bug with connections being closed on failure to

connect to auth socket (server)
* differentiate between get_byte and get_bool
* get rid of some // comments
* general tidying

--HG--
extra : convert_revision : fb8d188ce33b6b45804a5ce51b9f601f83bdf3d7
This commit is contained in:
Matt Johnston
2005-03-13 13:58:14 +00:00
parent a68755af2b
commit f45eafe342
18 changed files with 42 additions and 51 deletions

View File

@@ -33,15 +33,12 @@
/* We receive channel data - only used by the client chansession code*/
void recv_msg_channel_extended_data() {
unsigned int chan;
struct Channel *channel;
unsigned int datatype;
TRACE(("enter recv_msg_channel_extended_data"))
chan = buf_getint(ses.payload);
channel = getchannel(chan);
channel = getchannel();
if (channel == NULL) {
dropbear_exit("Unknown channel");
}