mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
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:
parent
c73bf9a71a
commit
179693e2a4
@ -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()
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user