Fix copy-paste error.

This commit is contained in:
Alex Miller 2019-06-18 16:40:17 -07:00
parent 4fa5dc0502
commit ed118bac17
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ public:
Listener( boost::asio::io_service& io_service, NetworkAddress listenAddress )
: listenAddress(listenAddress), acceptor( io_service, tcpEndpoint( listenAddress ) )
{
platform::setCloseOnExec(socket.native_handle());
platform::setCloseOnExec(acceptor.native_handle());
}
virtual void addref() { ReferenceCounted<Listener>::addref(); }