summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/clientloop.c b/clientloop.c
index 41aff8354..e6da67d51 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -59,7 +59,7 @@
59 */ 59 */
60 60
61#include "includes.h" 61#include "includes.h"
62RCSID("$OpenBSD: clientloop.c,v 1.81 2001/07/17 21:04:57 markus Exp $"); 62RCSID("$OpenBSD: clientloop.c,v 1.82 2001/09/17 20:52:47 markus Exp $");
63 63
64#include "ssh.h" 64#include "ssh.h"
65#include "ssh1.h" 65#include "ssh1.h"
@@ -1111,6 +1111,7 @@ client_request_x11(const char *request_type, int rchan)
1111 error("client_request_x11: channel_new failed"); 1111 error("client_request_x11: channel_new failed");
1112 close(sock); 1112 close(sock);
1113 } 1113 }
1114 c->force_drain = 1;
1114 return c; 1115 return c;
1115} 1116}
1116 1117
@@ -1136,6 +1137,7 @@ client_request_agent(const char *request_type, int rchan)
1136 error("client_request_agent: channel_new failed"); 1137 error("client_request_agent: channel_new failed");
1137 close(sock); 1138 close(sock);
1138 } 1139 }
1140 c->force_drain = 1;
1139 return c; 1141 return c;
1140} 1142}
1141 1143