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:
Gioacchino Mazzurco 2019-09-29 17:59:32 +02:00
parent 6788ea041a
commit 6b71c57a54
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
16 changed files with 120 additions and 2288 deletions

View file

@ -63,10 +63,6 @@ const uint32_t RS_STUN_FRIEND = 0x0020;
const uint32_t RS_STUN_FRIEND_OF_FRIEND = 0x0040;
// for the old p3dhtmgr - amazed it still compiles ;)
#define RS_CONNECT_PASSIVE 1
#define RS_CONNECT_ACTIVE 2
#define RS_CB_DHT 0x0001 /* from dht */
#define RS_CB_DISC 0x0002 /* from peers */
#define RS_CB_PERSON 0x0003 /* from connection */