summaryrefslogtreecommitdiff
path: root/ace/FILE_Addr.i
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-10 08:45:20 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-10 08:45:20 +0000
commit7db29418e44bdce4e3df96493b852118cdd82a4a (patch)
tree4e7c3861e67804fbca3da1d49652aa036f0edf31 /ace/FILE_Addr.i
parent3d462be371ad3548e4d2d68abf4f95372e7c529f (diff)
downloadATCD-7db29418e44bdce4e3df96493b852118cdd82a4a.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/FILE_Addr.i')
-rw-r--r--ace/FILE_Addr.i8
1 files changed, 6 insertions, 2 deletions
diff --git a/ace/FILE_Addr.i b/ace/FILE_Addr.i
index c6237feac46..735496c9ff7 100644
--- a/ace/FILE_Addr.i
+++ b/ace/FILE_Addr.i
@@ -5,6 +5,10 @@
// Do nothing constructor.
+// Transform the current address into string format.
+
+#include "ace/SString.h"
+
ACE_INLINE
ACE_FILE_Addr::ACE_FILE_Addr (void)
: ACE_Addr (AF_FILE, sizeof this->filename_)
@@ -49,10 +53,10 @@ ACE_FILE_Addr::ACE_FILE_Addr (LPCTSTR filename)
this->set (filename);
}
-// Transform the current address into string format.
+// Transform the current address into string format.
ACE_INLINE int
-ACE_FILE_Addr::addr_to_string (char s[], size_t len) const
+ACE_FILE_Addr::addr_to_string (LPTSTR s, size_t len) const
{
ACE_OS::strncpy (s, this->filename_, len);
return 0;