summaryrefslogtreecommitdiff
path: root/ACEXML/common/URL_Addr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACEXML/common/URL_Addr.cpp')
-rw-r--r--ACEXML/common/URL_Addr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACEXML/common/URL_Addr.cpp b/ACEXML/common/URL_Addr.cpp
index b58c916c73f..3bec4ae6ec4 100644
--- a/ACEXML/common/URL_Addr.cpp
+++ b/ACEXML/common/URL_Addr.cpp
@@ -33,7 +33,7 @@ ACEXML_URL_Addr::addr_to_string (ACEXML_Char *s,
else
{
ACE_OS::sprintf (s, ACE_TEXT ("%s:%d/%s"),
- ACE_TEXT_CHAR_TO_TCHAR (ipaddr_format == 0
+ ACE_TEXT_TO_TCHAR_IN (ipaddr_format == 0
? this->get_host_name ()
: this->get_host_addr ()),
this->get_port_number (),
@@ -55,7 +55,7 @@ ACEXML_URL_Addr::addr_to_string (int ipaddr_format)
}
ACE_OS::sprintf (this->addr_string_,
ACE_TEXT ("%s:%d/%s"),
- ACE_TEXT_CHAR_TO_TCHAR (ipaddr_format == 0
+ ACE_TEXT_TO_TCHAR_IN (ipaddr_format == 0
? this->get_host_name ()
: this->get_host_addr ()),
this->get_port_number (),
@@ -67,7 +67,7 @@ ACEXML_URL_Addr::addr_to_string (int ipaddr_format)
int
ACEXML_URL_Addr::string_to_addr (const char* s)
{
- return this->string_to_addr (ACE_TEXT_CHAR_TO_TCHAR (s));
+ return this->string_to_addr (ACE_TEXT_TO_TCHAR_IN (s));
}
#endif /* ACE_USES_WCHAR */