suppressed warning in p3dhtmgr.cc

This commit is contained in:
csoler 2017-07-17 22:48:12 +02:00
parent 437426429e
commit f4aec11b0a
2 changed files with 3 additions and 3 deletions

View File

@ -365,8 +365,8 @@ bool p3DhtMgr::notifyPeer(const RsPeerId& id)
/* extract current peer status */ /* extract current peer status */
bool p3DhtMgr::getPeerStatus(const RsPeerId &id, bool p3DhtMgr::getPeerStatus(const RsPeerId &id,
struct sockaddr_in &laddr, struct sockaddr_storage &laddr,
struct sockaddr_in &raddr, struct sockaddr_storage &raddr,
uint32_t &type, uint32_t &state) uint32_t &type, uint32_t &state)
{ {
RsStackMutex stack(dhtMtx); /* LOCK MUTEX */ RsStackMutex stack(dhtMtx); /* LOCK MUTEX */

View File

@ -129,7 +129,7 @@ virtual bool notifyPeer(const RsPeerId& id);
/* extract current peer status */ /* extract current peer status */
virtual bool getPeerStatus(const RsPeerId& id, virtual bool getPeerStatus(const RsPeerId& id,
struct sockaddr_in &laddr, struct sockaddr_in &raddr, struct sockaddr_storage &laddr, struct sockaddr_storage &raddr,
uint32_t &type, uint32_t &mode); uint32_t &type, uint32_t &mode);
/* stun */ /* stun */