commit 626ad07312e92b2334a432348f536742161270e1
parent da96e34948197fd3cc6d299397278c7acb1279fe
Author: nion@noname <unknown>
Date: Sun, 29 Jan 2006 20:59:02 +0100
removed unneeded memset
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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)