summaryrefslogtreecommitdiff
path: root/ace/FILE_Addr.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-11-05 21:58:57 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-11-05 21:58:57 +0000
commit1930dc1d38d619c39965b4c2e07226df2beb19e4 (patch)
treecd80dd59f7e7323ecc439775ced868ed4c5c0a9e /ace/FILE_Addr.cpp
parent39ba97673a387fd7fe9e8a4c32f7712425bc6b8d (diff)
downloadATCD-1930dc1d38d619c39965b4c2e07226df2beb19e4.tar.gz
ChangeLogTag:Mon Nov 5 10:12:01 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/FILE_Addr.cpp')
-rw-r--r--ace/FILE_Addr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/FILE_Addr.cpp b/ace/FILE_Addr.cpp
index aa7a00bc908..cc7c47743ec 100644
--- a/ace/FILE_Addr.cpp
+++ b/ace/FILE_Addr.cpp
@@ -48,9 +48,9 @@ ACE_FILE_Addr::set (const ACE_FILE_Addr &sa)
}
else
{
- (void) ACE_OS::strncpy (this->filename_,
- sa.filename_,
- sa.get_size ());
+ (void) ACE_OS::strsncpy (this->filename_,
+ sa.filename_,
+ sa.get_size ());
this->base_set (sa.get_type (),
sa.get_size ());
@@ -95,7 +95,7 @@ ACE_FILE_Addr::ACE_FILE_Addr (const ACE_TCHAR *filename)
int
ACE_FILE_Addr::addr_to_string (ACE_TCHAR *s, size_t len) const
{
- ACE_OS::strncpy (s, this->filename_, len);
+ ACE_OS::strsncpy (s, this->filename_, len);
return 0;
}