summaryrefslogtreecommitdiff
path: root/ACE/tests/FlReactor_Test.cpp
diff options
context:
space:
mode:
authorAdam Mitz <mitza@ociweb.com>2015-11-06 17:07:11 -0600
committerAdam Mitz <mitza@ociweb.com>2015-11-06 17:07:11 -0600
commitac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b (patch)
tree0e70d1f51c39e688a05a6cdc2af58408222e4a0d /ACE/tests/FlReactor_Test.cpp
parent5272b5b81f92c298cb998b5bb0b0dbca3e7f29fe (diff)
downloadATCD-ac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b.tar.gz
Merged branch ace-face-safety (FACE Safety Profile import from OCITAO).
Diffstat (limited to 'ACE/tests/FlReactor_Test.cpp')
-rw-r--r--ACE/tests/FlReactor_Test.cpp4
1 files changed, 2 insertions, 2 deletions
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);