X-Git-Url: https://git.syn-net.org/debian/?a=blobdiff_plain;ds=sidebyside;f=src%2FsyncServer.cpp;h=1e6e3526c79912f6606c9dc145c1b74a66dc8c28;hb=refs%2Fremotes%2Forigin%2FHEAD;hp=35ad3f2f61c2275a3029ef5ba3829fc8ac6a33f1;hpb=012bc15ee82b75957d9284160fb0a0089396f0d4;p=anytun.git diff --git a/src/syncServer.cpp b/src/syncServer.cpp index 35ad3f2..1e6e352 100644 --- a/src/syncServer.cpp +++ b/src/syncServer.cpp @@ -65,7 +65,7 @@ SyncServer::~SyncServer() } } -void SyncServer::onResolve(SyncTcpConnection::proto::resolver::iterator& it) +void SyncServer::onResolve(SyncTcpConnection::proto::resolver::iterator it) { while(it != SyncTcpConnection::proto::resolver::iterator()) { SyncTcpConnection::proto::endpoint e = *it;