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:
Guus Sliepen 2014-05-06 14:11:55 +02:00
parent 27acb5d047
commit 332b55d472
5 changed files with 27 additions and 24 deletions

View file

@ -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;