diff --git a/libretroshare b/libretroshare index f03008485..47548627a 160000 --- a/libretroshare +++ b/libretroshare @@ -1 +1 @@ -Subproject commit f0300848539b3decd7034e5c221eed33c1c784bc +Subproject commit 47548627adddc444a5d36368bd7a5f5baeed17ba diff --git a/retroshare-friendserver/src/friendserver.cc b/retroshare-friendserver/src/friendserver.cc index 577730e73..523a76640 100644 --- a/retroshare-friendserver/src/friendserver.cc +++ b/retroshare-friendserver/src/friendserver.cc @@ -323,7 +323,7 @@ void FriendServer::removePeer(const RsPeerId& peer_id) auto tmp(fit); ++tmp; - it.second.closest_peers.erase(fit); + it.second.have_added_this_peer.erase(fit); fit=tmp; } else @@ -381,8 +381,6 @@ void FriendServer::autoWash() for(auto peer_id:to_remove) removePeer(peer_id); - - RsDbg() << "done." ; } void FriendServer::updateClosestPeers(const RsPeerId& pid,const RsPgpFingerprint& fpr)