summaryrefslogtreecommitdiff
path: root/ACE/ace/INET_Addr.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-10-26 18:49:49 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-10-26 18:49:49 +0000
commitea36f57916c47df7e1ae78e40b46c5dd826e9fde (patch)
tree4925d17f4476c32e121b27d983679a6f28131d12 /ACE/ace/INET_Addr.cpp
parent67eb07ee5ac35a1522e267572cc58251c8c8cb4e (diff)
downloadATCD-ea36f57916c47df7e1ae78e40b46c5dd826e9fde.tar.gz
Sun Oct 26 18:47:00 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/INET_Addr.cpp')
-rw-r--r--ACE/ace/INET_Addr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/INET_Addr.cpp b/ACE/ace/INET_Addr.cpp
index 44cd5a57c8a..a40c84a5807 100644
--- a/ACE/ace/INET_Addr.cpp
+++ b/ACE/ace/INET_Addr.cpp
@@ -36,7 +36,7 @@ ACE_INET_Addr::addr_to_string (ACE_TCHAR s[],
ACE_TRACE ("ACE_INET_Addr::addr_to_string");
// XXX Can we (should we) include the scope id for IPv6 addresses?
- char hoststr[MAXHOSTNAMELEN+1];
+ char hoststr[MAXHOSTNAMELEN+1];
bool result = false;
if (ipaddr_format == 0)
@@ -489,7 +489,7 @@ ACE_INET_Addr::set (const char port_name[],
int address_family = PF_UNSPEC;
# if defined (ACE_HAS_IPV6)
- if (ACE_OS::strcmp (ACE_TEXT_CHAR_TO_TCHAR(protocol), ACE_TEXT ("tcp6")) == 0)
+ if (ACE_OS::strcmp (protocol, "tcp6") == 0)
address_family = AF_INET6;
# endif /* ACE_HAS_IPV6 */