summaryrefslogtreecommitdiff
path: root/ACE/examples/Reactor
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2007-07-17 18:40:34 +0000
committerSteve Huston <shuston@riverace.com>2007-07-17 18:40:34 +0000
commite57cbfbfb42272ba2bdc3e855bc582f2fc1d2a50 (patch)
tree9691e1c3f57caede398ffaf732bccbefaf6d3718 /ACE/examples/Reactor
parent8dfc39c4cf64eedae924f275fc9778815cc01e94 (diff)
downloadATCD-e57cbfbfb42272ba2bdc3e855bc582f2fc1d2a50.tar.gz
ChangeLogTag:Tue Jul 17 18:38:53 UTC 2007 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/examples/Reactor')
-rw-r--r--ACE/examples/Reactor/Multicast/Log_Wrapper.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/ACE/examples/Reactor/Multicast/Log_Wrapper.cpp b/ACE/examples/Reactor/Multicast/Log_Wrapper.cpp
index 4bc4b46d3b9..d5f044e688d 100644
--- a/ACE/examples/Reactor/Multicast/Log_Wrapper.cpp
+++ b/ACE/examples/Reactor/Multicast/Log_Wrapper.cpp
@@ -33,12 +33,7 @@ Log_Wrapper::open (const int port, const char *mcast_addr)
if (ACE_OS::uname (&host_data) < 0)
return -1;
-#if defined (ACE_LACKS_UTSNAME_T)
- if ((host_info = ACE_OS::gethostbyname
- (ACE_TEXT_ALWAYS_CHAR(host_data.nodename))) == 0)
-#else
if ((host_info = ACE_OS::gethostbyname (host_data.nodename)) == 0)
-#endif
return -1;
else
ACE_OS::memcpy ((char *) &this->log_msg_.host,