From e142877e10a8179307e1ba56384dff869638b59c Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 22 Dec 2009 14:20:16 +0000 Subject: [PATCH] - Fix little typo --- src/bittorrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 5943aca78..ee925f880 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -1498,7 +1498,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);