Change AutoConnect from int to bool.
The proper value is 3, not 2 or 4, and 5 is right out. So just hardcode this value, and only have the option to turn AutoConnect on or off.
This commit is contained in:
parent
27acb5d047
commit
332b55d472
5 changed files with 27 additions and 24 deletions
|
|
@ -137,7 +137,7 @@ extern int udp_sndbuf;
|
|||
extern int max_connection_burst;
|
||||
extern bool do_prune;
|
||||
extern char *myport;
|
||||
extern int autoconnect;
|
||||
extern bool autoconnect;
|
||||
extern bool disablebuggypeers;
|
||||
extern int contradicting_add_edge;
|
||||
extern int contradicting_del_edge;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue