diff options
author | Lars Næsbye Christensen <lars@naesbye.dk> | 2024-02-18 19:15:07 +0100 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-02-18 22:04:44 +0200 |
commit | c2e00c0403b95ef10264807bdbfc3b1e4fdf0921 (patch) | |
tree | ce082c9b078e1803ffca1dc28cd31b738b5d4c4c /indra/llmessage | |
parent | d9bd57762edee6a5a2031ab896b6994746fdf4af (diff) |
fix some tests
Diffstat (limited to 'indra/llmessage')
-rw-r--r-- | indra/llmessage/tests/lltemplatemessagedispatcher_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llmessage/tests/lltemplatemessagedispatcher_test.cpp b/indra/llmessage/tests/lltemplatemessagedispatcher_test.cpp index e20f61b73f..fd4f10f39a 100644 --- a/indra/llmessage/tests/lltemplatemessagedispatcher_test.cpp +++ b/indra/llmessage/tests/lltemplatemessagedispatcher_test.cpp @@ -47,16 +47,16 @@ void LLMessageSystem::clearReceiveState(void) char gUdpDispatchedData[MAX_BUFFER_SIZE]; bool gUdpDispatchWasCalled = false; -BOOL LLTemplateMessageReader::readMessage(const U8* data,class LLHost const &) -{ +bool LLTemplateMessageReader::readMessage(const U8* data,class LLHost const &) +{ gUdpDispatchWasCalled = true; strcpy(gUdpDispatchedData, reinterpret_cast<const char*>(data)); return true; } -BOOL gValidateMessage = FALSE; -BOOL LLTemplateMessageReader::validateMessage(const U8*, S32 buffer_size, LLHost const &sender, bool trusted) -{ +bool gValidateMessage = false; +bool LLTemplateMessageReader::validateMessage(const U8*, S32 buffer_size, LLHost const &sender, bool trusted) +{ return gValidateMessage; } |