summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/channels.c b/channels.c
index da6fc0008..4c14ed491 100644
--- a/channels.c
+++ b/channels.c
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#include "includes.h" 41#include "includes.h"
42RCSID("$OpenBSD: channels.c,v 1.142 2001/12/05 03:56:39 itojun Exp $"); 42RCSID("$OpenBSD: channels.c,v 1.143 2001/12/05 10:06:12 deraadt Exp $");
43 43
44#include "ssh.h" 44#include "ssh.h"
45#include "ssh1.h" 45#include "ssh1.h"
@@ -1277,7 +1277,7 @@ channel_handle_rfd(Channel *c, fd_set * readset, fd_set * writeset)
1277 } 1277 }
1278 return -1; 1278 return -1;
1279 } 1279 }
1280 if(c->input_filter != NULL) { 1280 if (c->input_filter != NULL) {
1281 if (c->input_filter(c, buf, len) == -1) { 1281 if (c->input_filter(c, buf, len) == -1) {
1282 debug("channel %d: filter stops", c->self); 1282 debug("channel %d: filter stops", c->self);
1283 chan_read_failed(c); 1283 chan_read_failed(c);
@@ -1725,7 +1725,7 @@ channel_input_data(int type, int plen, void *ctxt)
1725 data = packet_get_string(&data_len); 1725 data = packet_get_string(&data_len);
1726 packet_done(); 1726 packet_done();
1727 1727
1728 if (compat20){ 1728 if (compat20) {
1729 if (data_len > c->local_maxpacket) { 1729 if (data_len > c->local_maxpacket) {
1730 log("channel %d: rcvd big packet %d, maxpack %d", 1730 log("channel %d: rcvd big packet %d, maxpack %d",
1731 c->self, data_len, c->local_maxpacket); 1731 c->self, data_len, c->local_maxpacket);
@@ -1909,7 +1909,7 @@ channel_input_open_confirmation(int type, int plen, void *ctxt)
1909static char * 1909static char *
1910reason2txt(int reason) 1910reason2txt(int reason)
1911{ 1911{
1912 switch(reason) { 1912 switch (reason) {
1913 case SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED: 1913 case SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED:
1914 return "administratively prohibited"; 1914 return "administratively prohibited";
1915 case SSH2_OPEN_CONNECT_FAILED: 1915 case SSH2_OPEN_CONNECT_FAILED:
@@ -2719,7 +2719,7 @@ void
2719deny_input_open(int type, int plen, void *ctxt) 2719deny_input_open(int type, int plen, void *ctxt)
2720{ 2720{
2721 int rchan = packet_get_int(); 2721 int rchan = packet_get_int();
2722 switch(type){ 2722 switch (type) {
2723 case SSH_SMSG_AGENT_OPEN: 2723 case SSH_SMSG_AGENT_OPEN:
2724 error("Warning: ssh server tried agent forwarding."); 2724 error("Warning: ssh server tried agent forwarding.");
2725 break; 2725 break;