TS-1820 Fix a build problem on Solaris.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/714a28f5 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/714a28f5 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/714a28f5 Branch: refs/heads/sphinx-docs Commit: 714a28f580ffbd4e4e556427c283bf36220315c1 Parents: 011e6ce Author: Leif Hedstrom <[email protected]> Authored: Sat Apr 27 22:27:39 2013 -0600 Committer: Leif Hedstrom <[email protected]> Committed: Sat Apr 27 22:27:39 2013 -0600 ---------------------------------------------------------------------- iocore/net/Connection.cc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/714a28f5/iocore/net/Connection.cc ---------------------------------------------------------------------- diff --git a/iocore/net/Connection.cc b/iocore/net/Connection.cc index 15ad2af..74f1def 100644 --- a/iocore/net/Connection.cc +++ b/iocore/net/Connection.cc @@ -135,7 +135,8 @@ Connection::close() } static int -add_http_filter(int /* fd ATS_UNUSED */) { +add_http_filter(int fd ATS_UNUSED) +{ int err = -1; #if defined(SOL_FILTER) && defined(FIL_ATTACH) err = setsockopt(fd, SOL_FILTER, FIL_ATTACH, "httpfilt", 9);
