From ac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b Mon Sep 17 00:00:00 2001 From: Adam Mitz Date: Fri, 6 Nov 2015 17:07:11 -0600 Subject: Merged branch ace-face-safety (FACE Safety Profile import from OCITAO). --- ACE/tests/FlReactor_Test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ACE/tests/FlReactor_Test.cpp') diff --git a/ACE/tests/FlReactor_Test.cpp b/ACE/tests/FlReactor_Test.cpp index e108901972a..6236d229d83 100644 --- a/ACE/tests/FlReactor_Test.cpp +++ b/ACE/tests/FlReactor_Test.cpp @@ -175,7 +175,7 @@ Connection_Handler::open (void*) from.addr_to_string (buf, bufsiz, 0); static char msg[256]; - ACE_OS::sprintf (msg, "connection from <%s>\n", + ACE_OS::snprintf (msg, 256, "connection from <%s>\n", ACE_TEXT_ALWAYS_CHAR (buf)); this->box_->label (msg); @@ -258,7 +258,7 @@ int run_main (int argc, ACE_TCHAR *argv[]) address.addr_to_string (buf, bufsiz, 0); char msg[2 * bufsiz]; - ACE_OS::sprintf (msg, "Listening on <%s>\n", + ACE_OS::snprintf (msg, 2 * bufsiz, "Listening on <%s>\n", ACE_TEXT_ALWAYS_CHAR (buf)); box->label (msg); -- cgit v1.2.1