diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-05-18 23:45:10 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2017-05-18 23:45:10 +0800 |
commit | 4dae8edb76c3c252b681669c16f978477c633c16 (patch) | |
tree | 19c7eac9e1604f2bd75dcc34c266532ea98b0e41 /cli-agentfwd.c | |
parent | a3e01b88841da97aae3d80b155034cc5f9f2c03e (diff) | |
parent | f7d38a1b9ccbe6225dcf5959d922b6d073638891 (diff) |
merge main to fuzz
--HG--
branch : fuzz
Diffstat (limited to 'cli-agentfwd.c')
-rw-r--r-- | cli-agentfwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli-agentfwd.c b/cli-agentfwd.c index c9bc9db..bdca3ea 100644 --- a/cli-agentfwd.c +++ b/cli-agentfwd.c @@ -24,7 +24,7 @@ #include "includes.h" -#ifdef ENABLE_CLI_AGENTFWD +#if DROPBEAR_CLI_AGENTFWD #include "agentfwd.h" #include "session.h" @@ -130,7 +130,7 @@ static buffer * agent_request(unsigned char type, buffer *data) { } buf_setpos(payload, 0); - ret = atomicio(write, fd, buf_getptr(payload, payload->len), payload->len); + ret = atomicio(vwrite, fd, buf_getptr(payload, payload->len), payload->len); if ((size_t)ret != payload->len) { TRACE(("write failed fd %d for agent_request, %s", fd, strerror(errno))) goto out; |