summaryrefslogtreecommitdiffstats
path: root/src/libktorrent
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-22 13:43:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-23 11:15:29 +0900
commit00f9fa931a25c42823751489f4c52a7bf97336ba (patch)
tree5c7e156d682c875084d218356663ef28c246fdfa /src/libktorrent
parent0df1636b33ecc71dcd71785940073fe7e2c22d4e (diff)
downloadktorrent-00f9fa93.tar.gz
ktorrent-00f9fa93.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 26a93b0fbb3c81e4aa011fc49cd88444b8edc0bd)
Diffstat (limited to 'src/libktorrent')
-rw-r--r--src/libktorrent/interfaces/ipblockinginterface.h2
-rw-r--r--src/libktorrent/torrent/announcelist.h2
-rw-r--r--src/libktorrent/torrent/ipblocklist.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/libktorrent/interfaces/ipblockinginterface.h b/src/libktorrent/interfaces/ipblockinginterface.h
index 87a544c..f281d2c 100644
--- a/src/libktorrent/interfaces/ipblockinginterface.h
+++ b/src/libktorrent/interfaces/ipblockinginterface.h
@@ -40,7 +40,7 @@ namespace kt
/**
* This function checks if IP is listed in antip2p filter list.
- * @return TRUE if IP should be blocked. FALSE otherwise
+ * @return true if IP should be blocked. false otherwise
* @arg ip String representation of IP address.
*/
virtual bool isBlockedIP(const TQString& ip) = 0;
diff --git a/src/libktorrent/torrent/announcelist.h b/src/libktorrent/torrent/announcelist.h
index 3cb9edd..b843e56 100644
--- a/src/libktorrent/torrent/announcelist.h
+++ b/src/libktorrent/torrent/announcelist.h
@@ -67,7 +67,7 @@ namespace bt
/**
* Removes a tracker from the list
* @param url Tracker URL to remove from custom trackers list.
- * @returns TRUE if URL is in custom list and it is removed or FALSE if it could not be removed or it's a default tracker
+ * @returns true if URL is in custom list and it is removed or false if it could not be removed or it's a default tracker
*/
bool removeTracker(KURL url);
diff --git a/src/libktorrent/torrent/ipblocklist.h b/src/libktorrent/torrent/ipblocklist.h
index a6a0008..0253826 100644
--- a/src/libktorrent/torrent/ipblocklist.h
+++ b/src/libktorrent/torrent/ipblocklist.h
@@ -160,13 +160,13 @@ namespace bt
/**
* Checks if IP is listed in local database (IPBlocklist::m_peers)
- * @return TRUE if IP is to be blocked
+ * @return true if IP is to be blocked
*/
bool isBlockedLocal(const TQString& ip);
/**
* Checks if IP is listed in plugins antip2p file
- * @return TRUE if IP is to be blocked
+ * @return true if IP is to be blocked
*/
bool isBlockedPlugin(const TQString& ip);
};