summaryrefslogtreecommitdiff
path: root/ACE/tests/Log_Msg_Test.cpp
diff options
context:
space:
mode:
authorvzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-06-23 14:19:07 +0000
committervzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-06-23 14:19:07 +0000
commitbcfccc4ac41bf8387b70c5d01405454ec7955d58 (patch)
tree50b5c0f6820e3514d70f9a184839d28d177d2649 /ACE/tests/Log_Msg_Test.cpp
parent11bb94bf95d6496d2d71e37d8c12bca286886309 (diff)
downloadATCD-bcfccc4ac41bf8387b70c5d01405454ec7955d58.tar.gz
Wed Jun 23 14:17:26 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>
* tests/Log_Msg_Test.cpp: Added nul terminator at the end of a string that was missing.
Diffstat (limited to 'ACE/tests/Log_Msg_Test.cpp')
-rw-r--r--ACE/tests/Log_Msg_Test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ACE/tests/Log_Msg_Test.cpp b/ACE/tests/Log_Msg_Test.cpp
index 1134496cdb5..8317b58de96 100644
--- a/ACE/tests/Log_Msg_Test.cpp
+++ b/ACE/tests/Log_Msg_Test.cpp
@@ -244,6 +244,7 @@ test_log_msg_features (const ACE_TCHAR *program)
size_t const index = i++;
big[index] = alphabet[i % j];
}
+ big[ACE_Log_Record::MAXLOGMSGLEN] = ACE_TEXT ('\0');
ACE_DEBUG ((LM_INFO, ACE_TEXT ("This is too big: %s\n"), big));
// Exercise many different combinations of OSTREAM.