mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
Calm down p3netmgr at least when internet connection is not available
Solve compiler warnings, delete tons of cruft and deadcode
This commit is contained in:
parent
6788ea041a
commit
6b71c57a54
16 changed files with 120 additions and 2288 deletions
|
@ -160,7 +160,6 @@ int p3ServerConfig::getConfigNetStatus(RsConfigNetStatus &status)
|
|||
pqiNetStatus nstatus;
|
||||
mNetMgr->getNetStatus(nstatus);
|
||||
|
||||
status.netLocalOk = nstatus.mLocalAddrOk;
|
||||
status.netUpnpOk = nstatus.mUpnpOk;
|
||||
status.netStunOk = false;
|
||||
status.netExtAddressOk = nstatus.mExtAddrOk;
|
||||
|
|
|
@ -702,7 +702,7 @@ RsGRouter *rsGRouter = NULL ;
|
|||
#include "util/rsrandom.h"
|
||||
|
||||
#ifdef RS_USE_LIBUPNP
|
||||
# include "rs_upnp/upnphandler_linux.h"
|
||||
# include "rs_upnp/upnphandler_libupnp.h"
|
||||
#else // def RS_USE_LIBUPNP
|
||||
# include "rs_upnp/upnphandler_miniupnp.h"
|
||||
#endif // def RS_USE_LIBUPNP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue