summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/channels.c b/channels.c
index 50d6f16ad..325f278f0 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.168 2002/02/14 23:27:59 markus Exp $"); 42RCSID("$OpenBSD: channels.c,v 1.169 2002/02/24 19:59:42 stevesk Exp $");
43 43
44#include "ssh.h" 44#include "ssh.h"
45#include "ssh1.h" 45#include "ssh1.h"
@@ -1116,6 +1116,7 @@ channel_post_port_listener(Channel *c, fd_set * readset, fd_set * writeset)
1116 error("accept: %.100s", strerror(errno)); 1116 error("accept: %.100s", strerror(errno));
1117 return; 1117 return;
1118 } 1118 }
1119 set_nodelay(newsock);
1119 nc = channel_new(rtype, 1120 nc = channel_new(rtype,
1120 nextstate, newsock, newsock, -1, 1121 nextstate, newsock, newsock, -1,
1121 c->local_window_max, c->local_maxpacket, 1122 c->local_window_max, c->local_maxpacket,
@@ -2270,6 +2271,7 @@ connect_to(const char *host, u_short port)
2270 return -1; 2271 return -1;
2271 } 2272 }
2272 /* success */ 2273 /* success */
2274 set_nodelay(sock);
2273 return sock; 2275 return sock;
2274} 2276}
2275 2277