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