summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-15 02:30:03 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-15 02:30:03 +0000
commite7b8a6a0debb30550e5f0e259cb14f7f7a17b746 (patch)
tree39001613dc8023aecd9244359f207fefcaaf11d6 /examples
parent0483619be9098e44820409301d57a8779a2e2cc2 (diff)
downloadATCD-e7b8a6a0debb30550e5f0e259cb14f7f7a17b746.tar.gz
(handle_client): ACE_OS::sprintf instead of sprintf
Diffstat (limited to 'examples')
-rw-r--r--examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp b/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp
index ee265f2af3e..a9acc99d71b 100644
--- a/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp
+++ b/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp
@@ -29,7 +29,7 @@ handle_client (ACE_LSOCK_Stream &stream)
)
ACE_DEBUG ((LM_DEBUG, "%*s", n, buf));
- ::sprintf (buf, "%ld", ACE_OS::getpid ());
+ ACE_OS::sprintf (buf, "%ld", ACE_OS::getpid ());
ACE_DEBUG ((LM_DEBUG, "(%s, %d) ----------------------------------------\n", buf, ACE_OS::strlen (buf)));