summaryrefslogtreecommitdiffstats
path: root/dnssd
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-13 09:38:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-15 20:09:38 +0900
commitca275a6386d2ea3b95129ce78695865a3523153b (patch)
tree928f442cdcd715bb0ece379b605cfb4a7ef1c035 /dnssd
parent3afb7eb4e984562dff3addf2c6399c19262497f0 (diff)
downloadtdelibs-ca275a63.tar.gz
tdelibs-ca275a63.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ad58630b34fc61754c763cf951004ef27e38d33d)
Diffstat (limited to 'dnssd')
-rw-r--r--dnssd/domainbrowser.h2
-rw-r--r--dnssd/publicservice.cpp2
-rw-r--r--dnssd/query.h4
-rw-r--r--dnssd/remoteservice.h4
4 files changed, 6 insertions, 6 deletions
diff --git a/dnssd/domainbrowser.h b/dnssd/domainbrowser.h
index abe93507f..e0702d72e 100644
--- a/dnssd/domainbrowser.h
+++ b/dnssd/domainbrowser.h
@@ -53,7 +53,7 @@ public:
Constructor that creates browser for domain list. This does not use global
configuration at all.
@param domains List of domains
- @param recursive TRUE - additionally local network will be browsed for more domains
+ @param recursive true - additionally local network will be browsed for more domains
@param parent Parent object.
This process is recursive.
*/
diff --git a/dnssd/publicservice.cpp b/dnssd/publicservice.cpp
index dcfc68e30..0e0b3de3b 100644
--- a/dnssd/publicservice.cpp
+++ b/dnssd/publicservice.cpp
@@ -202,7 +202,7 @@ bool PublicService::fillEntryGroup()
avahi_string_list_free(s);
return res;
#else
- return FALSE;
+ return false;
#endif
}
diff --git a/dnssd/query.h b/dnssd/query.h
index 21ab9b166..358c61d3c 100644
--- a/dnssd/query.h
+++ b/dnssd/query.h
@@ -57,12 +57,12 @@ public:
virtual void startQuery();
/**
- Returns TRUE if query is already running
+ Returns true if query is already running
*/
bool isRunning() const;
/**
- Returns TRUE if all currently announced services has
+ Returns true if all currently announced services has
been reported. It does not mean that no more services can
be found later and it is not related to isRunning()
*/
diff --git a/dnssd/remoteservice.h b/dnssd/remoteservice.h
index 8324f1bdc..0fb77217c 100644
--- a/dnssd/remoteservice.h
+++ b/dnssd/remoteservice.h
@@ -75,7 +75,7 @@ public:
/**
Synchronous version of resolveAsync(). Note that resolved(bool) is emitted
before this function returns,
- @return TRUE is successful
+ @return true is successful
*/
bool resolve();
@@ -86,7 +86,7 @@ public:
signals:
/**
- Emitted when resolving is complete. Parameter is set to TRUE if it was successful.
+ Emitted when resolving is complete. Parameter is set to true if it was successful.
If operating in asynchronous mode this signal can be emitted several times (when
service change)
*/