You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2015/11/21 06:12:45 UTC
trafficserver git commit: TS-3885: Fix compile issue on Ubuntu.
Repository: trafficserver
Updated Branches:
refs/heads/master def017b4b -> efc597969
TS-3885: Fix compile issue on Ubuntu.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/efc59796
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/efc59796
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/efc59796
Branch: refs/heads/master
Commit: efc597969f6c0a55198a53e0f66d4cbe7b82d18b
Parents: def017b
Author: Alan M. Carroll <am...@apache.org>
Authored: Fri Nov 20 23:12:05 2015 -0600
Committer: Alan M. Carroll <am...@apache.org>
Committed: Fri Nov 20 23:12:28 2015 -0600
----------------------------------------------------------------------
proxy/InkAPITest.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/efc59796/proxy/InkAPITest.cc
----------------------------------------------------------------------
diff --git a/proxy/InkAPITest.cc b/proxy/InkAPITest.cc
index 566ca88..d5ad4c7 100644
--- a/proxy/InkAPITest.cc
+++ b/proxy/InkAPITest.cc
@@ -331,7 +331,7 @@ client_handler(TSCont contp, TSEvent event, void *data)
// happen until data arrives on the socket. Because we're just testing the accept()
// we write a small amount of ignored data to make sure this gets triggered.
UnixNetVConnection *vc = static_cast<UnixNetVConnection *>(data);
- ::write(vc->con.fd, "Bob's your uncle", 16);
+ (void) ::write(vc->con.fd, "Bob's your uncle", 16);
sleep(1); // XXX this sleep ensures the server end gets the accept event.