summaryrefslogtreecommitdiffhomepage
path: root/cli-agentfwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-23 23:17:01 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-23 23:17:01 +0800
commitc4861340e93280dce97bbfa3b421c7819bc7864e (patch)
tree116a940254cfd00b4824aa66044f2ab07c43407b /cli-agentfwd.c
parent5996c3824c52425c2d4f3d7cb69f0c9fa81a33b8 (diff)
Fix a few compile warnings
Diffstat (limited to 'cli-agentfwd.c')
-rw-r--r--cli-agentfwd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cli-agentfwd.c b/cli-agentfwd.c
index a821305..c661455 100644
--- a/cli-agentfwd.c
+++ b/cli-agentfwd.c
@@ -156,8 +156,6 @@ static buffer * agent_request(unsigned char type, buffer *data) {
goto out;
}
- TRACE(("agent_request readlen is %d", readlen))
-
buf_resize(inbuf, readlen);
buf_setpos(inbuf, 0);
ret = atomicio(read, fd, buf_getwriteptr(inbuf, readlen), readlen);
@@ -167,7 +165,6 @@ static buffer * agent_request(unsigned char type, buffer *data) {
}
buf_incrwritepos(inbuf, readlen);
buf_setpos(inbuf, 0);
- TRACE(("agent_request success, length %d", readlen))
out:
if (payload)