Browse Source

- Fixed default state for UPnP/nat-pmp/lsd (DHT was fixed in previous commit already)

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
f0ca99ed6c
  1. 2
      src/bittorrent.cpp

2
src/bittorrent.cpp

@ -45,7 +45,7 @@ @@ -45,7 +45,7 @@
#define MAX_TRACKER_ERRORS 2
// Main constructor
bittorrent::bittorrent() : DHTEnabled(true), preAllocateAll(false), addInPause(false), maxConnecsPerTorrent(500), maxUploadsPerTorrent(4), max_ratio(-1), UPnPEnabled(false), NATPMPEnabled(false), LSDEnabled(false), queueingEnabled(false) {
bittorrent::bittorrent() : DHTEnabled(true), preAllocateAll(false), addInPause(false), maxConnecsPerTorrent(500), maxUploadsPerTorrent(4), max_ratio(-1), UPnPEnabled(true), NATPMPEnabled(true), LSDEnabled(true), queueingEnabled(false) {
// To avoid some exceptions
fs::path::default_name_check(fs::no_check);
// Creating bittorrent session

Loading…
Cancel
Save