mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
fixed a few compilation warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7859 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2e211a6904
commit
bf11765ff1
5 changed files with 9 additions and 12 deletions
|
@ -1037,13 +1037,13 @@ UdpRelayProxy::UdpRelayProxy()
|
|||
|
||||
UdpRelayProxy::UdpRelayProxy(UdpRelayAddrSet *addrSet, int relayClass, uint32_t bandwidth)
|
||||
: mAddrs(*addrSet),
|
||||
mRelayClass(relayClass),
|
||||
mBandwidth(0),
|
||||
mDataSize(0),
|
||||
mLastBandwidthTS(0),
|
||||
mLastTS(time(NULL)),
|
||||
mStartTS(time(NULL)),
|
||||
mBandwidthLimit(bandwidth)
|
||||
mBandwidthLimit(bandwidth),
|
||||
mRelayClass(relayClass)
|
||||
{
|
||||
/* bandwidth fallback */
|
||||
if (bandwidth == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue