mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
- Fix little typo
This commit is contained in:
parent
6f6e453ae4
commit
e142877e10
1 changed files with 1 additions and 1 deletions
|
@ -1498,7 +1498,7 @@ void Bittorrent::setDeleteRatio(float ratio) {
|
||||||
|
|
||||||
// Set DHT port (>= 1000 or 0 if same as BT)
|
// Set DHT port (>= 1000 or 0 if same as BT)
|
||||||
void Bittorrent::setDHTPort(int dht_port) {
|
void Bittorrent::setDHTPort(int dht_port) {
|
||||||
if(dht_port == 0 or dht_port >= 1000) {
|
if(dht_port == 0 || dht_port >= 1000) {
|
||||||
struct dht_settings DHTSettings;
|
struct dht_settings DHTSettings;
|
||||||
DHTSettings.service_port = dht_port;
|
DHTSettings.service_port = dht_port;
|
||||||
s->set_dht_settings(DHTSettings);
|
s->set_dht_settings(DHTSettings);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue