[PATCH 23/65] write global messages to the correct fd (bug from cleanup)

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Thu, 17 Apr 2014 17:06:11 +0200

Signed-off-by: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
---
 ii.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ii.c b/ii.c
index ca24a3c..94138e4 100644
--- a/ii.c
+++ b/ii.c
_AT_@ -324,7 +324,7 @@ proc_channels_input(int fd, Channel *c, char *buf) {
 		snprintf(msg, sizeof(msg), "%s\r\n", &buf[1]);
 
 	if(msg[0] != '\0')
-		write(c->fd, msg, strnlen(msg, sizeof(msg)));
+		write(fd, msg, strnlen(msg, sizeof(msg)));
 }
 
 static void
-- 
2.4.10
--Multipart=_Mon__9_May_2016_17_21_10_+0200_I.6cpFVydhq75aaE
Content-Type: text/x-diff;
 name="0024-warn-about-keyname-password-if-it-can-t-be-found.patch"
Content-Disposition: attachment;
 filename="0024-warn-about-keyname-password-if-it-can-t-be-found.patch"
Content-Transfer-Encoding: 7bit
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Mon May 09 2016 - 17:24:22 CEST