mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10874] Update ACE to v5.8.3
(based on zergtmn's repo commit 3a8c259) (based on zergtmn's repo commit 946c1a8) Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
c38c876b1d
commit
b8d773091a
343 changed files with 3060 additions and 7431 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// $Id: INET_Addr.cpp 91368 2010-08-16 13:03:34Z mhengstmengel $
|
||||
// $Id: INET_Addr.cpp 91683 2010-09-09 09:07:49Z johnnyw $
|
||||
|
||||
// Defines the Internet domain address family address format.
|
||||
|
||||
|
|
@ -871,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;
|
||||
|
|
@ -885,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue