avoid malloc for iovec

This commit is contained in:
Matt Johnston
2015-03-20 22:53:32 +08:00
parent dce384668b
commit 20f9683ae0
4 changed files with 15 additions and 16 deletions

View File

@@ -482,7 +482,7 @@ static void writechannel(struct Channel* channel, int fd, circbuffer *cbuf,
if (written < 0) {
if (errno != EINTR && errno != EAGAIN) {
TRACE(("errno %d len %d", errno, len))
TRACE(("errno %d", errno))
close_chan_fd(channel, fd, SHUT_WR);
}
} else {