summaryrefslogtreecommitdiff
path: root/src/syncServer.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-01-08 03:48:56 +0000
committerChristian Pointner <equinox@anytun.org>2010-01-08 03:48:56 +0000
commitff9f5aee4b685b8c705bd39d5768eec75a50c5c2 (patch)
tree7136ee43b71761ac39a7f95473d8c448d0d0266c /src/syncServer.cpp
parentmoved to resolver iterator at onResolve callback functions (diff)
UDPPacketSource now opens one socket for each resolved endpoint
Diffstat (limited to 'src/syncServer.cpp')
-rw-r--r--src/syncServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syncServer.cpp b/src/syncServer.cpp
index ecf9fb4..893ceba 100644
--- a/src/syncServer.cpp
+++ b/src/syncServer.cpp
@@ -42,7 +42,7 @@ SyncServer::SyncServer(std::string localaddr, std::string port, ConnectCallback
gResolver.resolveTcp(localaddr, port, boost::bind(&SyncServer::onResolve, this, _1), boost::bind(&SyncServer::onResolvError, this, _1));
}
-void SyncServer::onResolve(const SyncTcpConnection::proto::resolver::iterator& it)
+void SyncServer::onResolve(SyncTcpConnection::proto::resolver::iterator& it)
{
SyncTcpConnection::proto::endpoint e = *it;