diff options
| author | Lars Næsbye Christensen <lars@naesbye.dk> | 2024-02-18 16:41:22 +0100 |
|---|---|---|
| committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-02-18 22:04:44 +0200 |
| commit | f1c97f4057833220a2e9ac045d701208e30457d1 (patch) | |
| tree | 1b41e67347d15b1ad4e4e0ca47e0b6c7c0fd8a52 /indra/llmessage/llhost.cpp | |
| parent | 2817d6c67d65bee9cae8f0d77e229ccf8eaa286f (diff) | |
misc: BOOL to bool
Diffstat (limited to 'indra/llmessage/llhost.cpp')
| -rw-r--r-- | indra/llmessage/llhost.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llmessage/llhost.cpp b/indra/llmessage/llhost.cpp index ae5c2ecf69..30e4109729 100644 --- a/indra/llmessage/llhost.cpp +++ b/indra/llmessage/llhost.cpp @@ -103,7 +103,7 @@ std::string LLHost::getHostName() const } } -BOOL LLHost::setHostByName(const std::string& hostname) +bool LLHost::setHostByName(const std::string& hostname) { hostent *he; std::string local_name(hostname); @@ -123,7 +123,7 @@ BOOL LLHost::setHostByName(const std::string& hostname) if (he) { mIP = *(U32 *)he->h_addr_list[0]; - return TRUE; + return true; } else { @@ -147,7 +147,7 @@ BOOL LLHost::setHostByName(const std::string& hostname) LL_WARNS() << "LLHost::setAddress(): unknown error - " << error_number << LL_ENDL; break; } - return FALSE; + return false; } } |
