comparison common-channel.c @ 594:a98a2138364a

Improve capitalisation for all logged strings
author Matt Johnston <matt@ucc.asn.au>
date Wed, 23 Feb 2011 15:50:30 +0000
parents a3748e54273c
children 17962b2a6b8f
comparison
equal deleted inserted replaced
593:ea103e4476ce 594:a98a2138364a
686 unsigned int len; 686 unsigned int len;
687 687
688 TRACE(("enter recv_msg_channel_data")) 688 TRACE(("enter recv_msg_channel_data"))
689 689
690 if (channel->recv_eof) { 690 if (channel->recv_eof) {
691 dropbear_exit("received data after eof"); 691 dropbear_exit("Received data after eof");
692 } 692 }
693 693
694 if (fd < 0) { 694 if (fd < 0) {
695 /* If we have encountered failed write, the far side might still 695 /* If we have encountered failed write, the far side might still
696 * be sending data without having yet received our close notification. 696 * be sending data without having yet received our close notification.
1004 TRACE(("enter recv_msg_channel_open_confirmation")) 1004 TRACE(("enter recv_msg_channel_open_confirmation"))
1005 1005
1006 channel = getchannel(); 1006 channel = getchannel();
1007 1007
1008 if (!channel->await_open) { 1008 if (!channel->await_open) {
1009 dropbear_exit("unexpected channel reply"); 1009 dropbear_exit("Unexpected channel reply");
1010 } 1010 }
1011 channel->await_open = 0; 1011 channel->await_open = 0;
1012 1012
1013 channel->remotechan = buf_getint(ses.payload); 1013 channel->remotechan = buf_getint(ses.payload);
1014 channel->transwindow = buf_getint(ses.payload); 1014 channel->transwindow = buf_getint(ses.payload);
1036 struct Channel * channel; 1036 struct Channel * channel;
1037 1037
1038 channel = getchannel(); 1038 channel = getchannel();
1039 1039
1040 if (!channel->await_open) { 1040 if (!channel->await_open) {
1041 dropbear_exit("unexpected channel reply"); 1041 dropbear_exit("Unexpected channel reply");
1042 } 1042 }
1043 channel->await_open = 0; 1043 channel->await_open = 0;
1044 1044
1045 remove_channel(channel); 1045 remove_channel(channel);
1046 } 1046 }