- Fix little typo

This commit is contained in:
Christophe Dumez
2009-12-22 14:21:03 +00:00
parent e26a1d5342
commit 20167c2276

View File

@@ -1362,7 +1362,7 @@ void Bittorrent::setDeleteRatio(float ratio) {
// Set DHT port (>= 1000 or 0 if same as BT)
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;
DHTSettings.service_port = dht_port;
s->set_dht_settings(DHTSettings);