This is an automated email from the ASF dual-hosted git repository. bcall pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new 943f789 Fixed another build issue on Ubuntu, errors ignoring return value 943f789 is described below commit 943f789de62292e39ec0ffe9e1a9c04d31c37bf8 Author: Bryan Call <bc...@apache.org> AuthorDate: Mon Nov 20 12:54:38 2017 -0800 Fixed another build issue on Ubuntu, errors ignoring return value --- iocore/net/test_I_UDPNet.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iocore/net/test_I_UDPNet.cc b/iocore/net/test_I_UDPNet.cc index 00e7ad6..672c9d0 100644 --- a/iocore/net/test_I_UDPNet.cc +++ b/iocore/net/test_I_UDPNet.cc @@ -72,7 +72,7 @@ EchoServer::handle_packet(int event, void *data) switch (event) { case NET_EVENT_DATAGRAM_OPEN: { UDPConnection *con = reinterpret_cast<UDPConnection *>(data); - port = con->getPortNum(); // store this for later signalling. + port = con->getPortNum(); // store this for later signaling. /* For some reason the UDP packet handling isn't fully set up at this time. We need another pass through the event loop for that or the packet is never read even thought it arrives on the port (as reported by ss --udp --numeric --all). @@ -106,7 +106,7 @@ EchoServer::handle_packet(int event, void *data) case EVENT_INTERVAL: // Done the extra event loop, signal the client to start. std::cout << "Echo Server port: " << port << std::endl; - write(pfd[1], &port, sizeof(port)); + ink_release_assert(write(pfd[1], &port, sizeof(port)) == sizeof(port)); break; default: -- To stop receiving notification emails like this one, please contact ['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].