summaryrefslogtreecommitdiff
path: root/ace/FILE_Addr.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-06-21 00:57:00 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-06-21 00:57:00 +0000
commit7a9132cb59255b380d1fca6e320a5a3995451d35 (patch)
tree1b274b6822a2bfc54a14e8547a49ff6038311bee /ace/FILE_Addr.cpp
parent41ceaaeca0a8592b99a76d97e718a398d9fb9664 (diff)
downloadATCD-7a9132cb59255b380d1fca6e320a5a3995451d35.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/FILE_Addr.cpp')
-rw-r--r--ace/FILE_Addr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/FILE_Addr.cpp b/ace/FILE_Addr.cpp
index 76d14fa77dc..ad9a20d2be7 100644
--- a/ace/FILE_Addr.cpp
+++ b/ace/FILE_Addr.cpp
@@ -42,8 +42,8 @@ ACE_FILE_Addr::set (LPCTSTR filename)
this->ACE_Addr::base_set (AF_FILE,
ACE_OS::strlen (filename) + 1);
(void) ACE_OS::strncpy (this->filename_,
- filename,
- sa.get_size ());
+ filename,
+ sizeof this->filename_);
}
ACE_FILE_Addr &