X-Git-Url: https://git.syn-net.org/debian/?p=anytun.git;a=blobdiff_plain;f=src%2FsyncServer.cpp;h=1e6e3526c79912f6606c9dc145c1b74a66dc8c28;hp=35ad3f2f61c2275a3029ef5ba3829fc8ac6a33f1;hb=91d2dadab8997ae23442f77dd28db9fa3aee1e7c;hpb=65944fb7a518dc659bacaf80cf235a0352fc6a7e 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;