diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-11-05 21:58:57 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-11-05 21:58:57 +0000 |
commit | 18f409bb99c9d8ce4e210d9141a07e53a4c0eb3c (patch) | |
tree | cd80dd59f7e7323ecc439775ced868ed4c5c0a9e /ace/FILE_Addr.cpp | |
parent | df5c519c06f4f434d5ce640cdfd520d9d27511ee (diff) | |
download | ATCD-18f409bb99c9d8ce4e210d9141a07e53a4c0eb3c.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.cpp | 8 |
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; } |