From 3f40bd99d9dfc5916d439eb60260710a5079f7eb Mon Sep 17 00:00:00 2001 From: crodrigu Date: Thu, 15 Nov 2001 04:27:21 +0000 Subject: ChangeLogTag: Wed Nov 14 23:11:59 2001 Craig Rodrigues --- ace/Naming_Context.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ace/Naming_Context.cpp') diff --git a/ace/Naming_Context.cpp b/ace/Naming_Context.cpp index 3744b6baffe..d601c548556 100644 --- a/ace/Naming_Context.cpp +++ b/ace/Naming_Context.cpp @@ -37,17 +37,17 @@ ACE_Naming_Context::info (ACE_TCHAR **strp, size_t length) const { ACE_TRACE ("ACE_Naming_Context::info"); - char buf[BUFSIZ]; + ACE_TCHAR buf[BUFSIZ]; ACE_OS::sprintf (buf, "%s\t#%s\n", "ACE_Naming_Context", "Proxy for making calls to a Name Server"); - if (*strp == 0 && (*strp = ACE_OS::strdup (buf)) == 0) + if (*strp == 0 && (*strp = ACE_OS_String::strdup (buf)) == 0) return -1; else - ACE_OS::strsncpy (*strp, buf, length); - return ACE_OS::strlen (buf); + ACE_OS_String::strsncpy (*strp, buf, length); + return ACE_OS_String::strlen (buf); } int -- cgit v1.2.1