ii

git clone https://orangeshoelaces.net/git/ii.git

626ad07312e92b2334a432348f536742161270e1

Author: nion@noname on 01/29/2006

Committer: nion@noname on 01/29/2006

removed unneeded memset

Stats

ii.c | 1 -
1 file changed, 1 deletion(-)

Patch

diff --git a/ii.c b/ii.c
index 5cac11a..f50d8aa 100644
--- a/ii.c
+++ b/ii.c
@@ -388,7 +388,6 @@ static int read_line(int fd, size_t res_len, char *buf)
 static void handle_channels_input(Channel *c)
 {
 	static char buf[PIPE_BUF];
-	memset(buf,0,sizeof(buf));
 	if(read_line(c->fd, PIPE_BUF, buf) == -1) {
 		int fd = open_channel(c->name);
 		if(fd != -1)