summaryrefslogtreecommitdiff
path: root/ace/Name_Request_Reply.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/Name_Request_Reply.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/Name_Request_Reply.cpp')
-rw-r--r--ace/Name_Request_Reply.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Name_Request_Reply.cpp b/ace/Name_Request_Reply.cpp
index 5e10e033089..820e92744b4 100644
--- a/ace/Name_Request_Reply.cpp
+++ b/ace/Name_Request_Reply.cpp
@@ -241,9 +241,9 @@ void
ACE_Name_Request::type (const char *c)
{
ACE_TRACE ("ACE_Name_Request::type");
- (void) ::strncpy (this->type_,
+ ACE_OS::strsncpy (this->type_,
c,
- MAXPATHLEN + 1);
+ sizeof this->type_);
}
// Encode the transfer buffer into network byte order so that it can