summaryrefslogtreecommitdiff
path: root/ace/Acceptor.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-09-02 22:33:20 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-09-02 22:33:20 +0000
commitab9f6374b10e5e5c70aab45d974127afe0467379 (patch)
tree0824ba2a7b9aef26bc861bbf491a16f21b0467d0 /ace/Acceptor.cpp
parent48daec51c958edb70d7a4cb36ef3ec884d363386 (diff)
downloadATCD-ab9f6374b10e5e5c70aab45d974127afe0467379.tar.gz
ChangeLogTag:Sat Sep 1 14:10:08 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/Acceptor.cpp')
-rw-r--r--ace/Acceptor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Acceptor.cpp b/ace/Acceptor.cpp
index ac61481f17b..69b38dee1e3 100644
--- a/ace/Acceptor.cpp
+++ b/ace/Acceptor.cpp
@@ -797,7 +797,7 @@ ACE_Strategy_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::info (ACE_TCHAR **strp,
if (*strp == 0 && (*strp = ACE_OS::strdup (buf)) == 0)
return -1;
else
- ACE_OS::strncpy (*strp, buf, length);
+ ACE_OS::strsncpy (*strp, buf, length);
return ACE_OS::strlen (buf);
}
@@ -1149,7 +1149,7 @@ ACE_Oneshot_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::info (ACE_TCHAR **strp,
if (*strp == 0 && (*strp = ACE_OS::strdup (buf)) == 0)
return -1;
else
- ACE_OS::strncpy (*strp, buf, length);
+ ACE_OS::strsncpy (*strp, buf, length);
return ACE_OS::strlen (buf);
}