diff options
author | Steve Huston <shuston@riverace.com> | 2003-04-01 22:04:06 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2003-04-01 22:04:06 +0000 |
commit | d29f042aabcad5f1e934db476c5d2467e4970f31 (patch) | |
tree | 3da44fc2969a0fbb3adadfdc6431a6fde8209e82 /tests | |
parent | aa41820a551fe63a43832ed1c8af6ae0b5707edd (diff) | |
download | ATCD-d29f042aabcad5f1e934db476c5d2467e4970f31.tar.gz |
ChangeLogTag:Tue Apr 1 17:02:37 2003 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Process_Strategy_Test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Process_Strategy_Test.cpp b/tests/Process_Strategy_Test.cpp index 6501f2a5708..1eebb7c4f9e 100644 --- a/tests/Process_Strategy_Test.cpp +++ b/tests/Process_Strategy_Test.cpp @@ -421,12 +421,13 @@ Counting_Service::handle_input (ACE_HANDLE) return -1; else { + buf[len] = '\0'; ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) %d bytes of input on %d is %*s\n"), bytes, this->peer ().get_handle (), bytes, - buf)); + ACE_TEXT_CHAR_TO_TCHAR (buf))); // Read and return the current value in the file. if (ACE_OS::strncmp (buf, "read", |