diff --git a/libretroshare/src/pqi/p3linkmgr.cc b/libretroshare/src/pqi/p3linkmgr.cc index ec16bca7c..72a875d13 100644 --- a/libretroshare/src/pqi/p3linkmgr.cc +++ b/libretroshare/src/pqi/p3linkmgr.cc @@ -179,6 +179,8 @@ bool p3LinkMgrIMPL::setLocalAddress(struct sockaddr_in addr) { RsStackMutex stack(mLinkMtx); /****** STACK LOCK MUTEX *******/ mLocalAddress = addr; + + return true ; } struct sockaddr_in p3LinkMgrIMPL::getLocalAddress() diff --git a/libretroshare/src/tcponudp/tou.cc b/libretroshare/src/tcponudp/tou.cc index 83443ac31..3e5f05dcc 100644 --- a/libretroshare/src/tcponudp/tou.cc +++ b/libretroshare/src/tcponudp/tou.cc @@ -63,7 +63,7 @@ static int tou_inited = 0; #include "tcponudp/udprelay.h" static UdpSubReceiver *udpSR[MAX_TOU_RECEIVERS] = {NULL}; -static uint32_t udpType[MAX_TOU_RECEIVERS] = {NULL}; +static uint32_t udpType[MAX_TOU_RECEIVERS] = { 0 }; static uint32_t noUdpSR = 0; static int tou_tick_all();