summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/serverloop.c b/serverloop.c
index 615921c38..feaf35c1a 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: serverloop.c,v 1.202 2017/12/18 23:16:24 djm Exp $ */ 1/* $OpenBSD: serverloop.c,v 1.203 2018/01/23 05:27:21 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -655,10 +655,8 @@ server_input_channel_open(int type, u_int32_t seq, struct ssh *ssh)
655 packet_start(SSH2_MSG_CHANNEL_OPEN_FAILURE); 655 packet_start(SSH2_MSG_CHANNEL_OPEN_FAILURE);
656 packet_put_int(rchan); 656 packet_put_int(rchan);
657 packet_put_int(reason); 657 packet_put_int(reason);
658 if (!(datafellows & SSH_BUG_OPENFAILURE)) { 658 packet_put_cstring(errmsg ? errmsg : "open failed");
659 packet_put_cstring(errmsg ? errmsg : "open failed"); 659 packet_put_cstring("");
660 packet_put_cstring("");
661 }
662 packet_send(); 660 packet_send();
663 } 661 }
664 free(ctype); 662 free(ctype);