fixed missign return, and pointer-to-uint32_t cast

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4475 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-07-19 18:55:32 +00:00
parent c73bf9a71a
commit 179693e2a4
2 changed files with 3 additions and 1 deletions

View File

@ -179,6 +179,8 @@ bool p3LinkMgrIMPL::setLocalAddress(struct sockaddr_in addr)
{ {
RsStackMutex stack(mLinkMtx); /****** STACK LOCK MUTEX *******/ RsStackMutex stack(mLinkMtx); /****** STACK LOCK MUTEX *******/
mLocalAddress = addr; mLocalAddress = addr;
return true ;
} }
struct sockaddr_in p3LinkMgrIMPL::getLocalAddress() struct sockaddr_in p3LinkMgrIMPL::getLocalAddress()

View File

@ -63,7 +63,7 @@ static int tou_inited = 0;
#include "tcponudp/udprelay.h" #include "tcponudp/udprelay.h"
static UdpSubReceiver *udpSR[MAX_TOU_RECEIVERS] = {NULL}; 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 uint32_t noUdpSR = 0;
static int tou_tick_all(); static int tou_tick_all();