summaryrefslogtreecommitdiff
path: root/common-channel.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-03-20 22:53:32 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-03-20 22:53:32 +0800
commit20f9683ae050092a1f028ae55c546966c4882925 (patch)
treedbec8f8e56a0bc4ee4e15b031a2ba8e2e101ab07 /common-channel.c
parentdce384668bb8e684c0e83f03a7ff4b30cfc6fe4b (diff)
downloaddropbear-20f9683ae050092a1f028ae55c546966c4882925.tar.gz
avoid malloc for iovec
Diffstat (limited to 'common-channel.c')
-rw-r--r--common-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-channel.c b/common-channel.c
index b6c9673..a2ed283 100644
--- a/common-channel.c
+++ b/common-channel.c
@@ -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 {