aboutsummaryrefslogtreecommitdiff
path: root/dep/acelite/ace/INET_Addr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dep/acelite/ace/INET_Addr.cpp')
-rw-r--r--dep/acelite/ace/INET_Addr.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/dep/acelite/ace/INET_Addr.cpp b/dep/acelite/ace/INET_Addr.cpp
index c6ef40b56ce..6dba7150f93 100644
--- a/dep/acelite/ace/INET_Addr.cpp
+++ b/dep/acelite/ace/INET_Addr.cpp
@@ -1,4 +1,4 @@
-// $Id: INET_Addr.cpp 84183 2009-01-19 08:50:16Z johnnyw $
+// $Id: INET_Addr.cpp 91683 2010-09-09 09:07:49Z johnnyw $
// Defines the Internet domain address family address format.
@@ -18,10 +18,6 @@
#include "ace/OS_NS_unistd.h"
#include "ace/OS_NS_sys_socket.h"
-ACE_RCSID (ace,
- INET_Addr,
- "$Id: INET_Addr.cpp 84183 2009-01-19 08:50:16Z johnnyw $")
-
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_ALLOC_HOOK_DEFINE(ACE_INET_Addr)
@@ -875,10 +871,6 @@ ACE_INET_Addr::get_host_name_i (char hostname[], size_t len) const
}
# endif /* ACE_HAS_IPV6 */
-# if defined (DIGITAL_UNIX) && defined (__GNUC__)
- hostent * const hp =
- ACE_OS::gethostbyaddr (static_cast <char *> (addr), size, type);
-# else
int h_error; // Not the same as errno!
hostent hentry;
ACE_HOSTENT_DATA buf;
@@ -889,7 +881,6 @@ ACE_INET_Addr::get_host_name_i (char hostname[], size_t len) const
&hentry,
buf,
&h_error);
-# endif /* DIGITAL_UNIX */
if (hp == 0 || hp->h_name == 0)
return -1;