diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-11-09 04:07:12 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-11-09 04:07:12 +0000 |
commit | e39fb41a4853982b50140fd0244025f8f863cc13 (patch) | |
tree | 3b9b45f1ffcdf30bee62c170d1ab26f2b840148f /ace/INET_Addr.cpp | |
parent | 111198f24808be9328d6e80ac9e43039e79367ab (diff) | |
download | ATCD-e39fb41a4853982b50140fd0244025f8f863cc13.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/INET_Addr.cpp')
-rw-r--r-- | ace/INET_Addr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/INET_Addr.cpp b/ace/INET_Addr.cpp index a0940899e34..ce44eb39501 100644 --- a/ace/INET_Addr.cpp +++ b/ace/INET_Addr.cpp @@ -382,10 +382,10 @@ ACE_INET_Addr::get_host_name (char hostname[], size_t len) const #else if (this->inet_addr_.sin_addr.s_addr == INADDR_ANY) { - if (ACE_OS::hostname (buf, MAXHOSTNAMELEN) == -1) + if (ACE_OS::hostname (name, MAXHOSTNAMELEN) == -1) return 0; else - return buf; + return name; } else { |