diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-03-05 20:22:43 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-03-05 20:22:43 +0000 |
commit | 79b4efcb9de3978d102487232b0089cfcaccaed3 (patch) | |
tree | 580be94e663dbeee446e5811b4d166a00ec54cbe /ace | |
parent | ecbd6069a19760108371e89af1e7acac7372443f (diff) | |
download | ATCD-79b4efcb9de3978d102487232b0089cfcaccaed3.tar.gz |
ChangeLogTag:Tue Mar 5 12:20:26 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/INET_Addr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/INET_Addr.cpp b/ace/INET_Addr.cpp index f6aac19bc2d..6663408a5d1 100644 --- a/ace/INET_Addr.cpp +++ b/ace/INET_Addr.cpp @@ -279,10 +279,10 @@ ACE_INET_Addr::set (u_short port_number, # else hostent hentry; ACE_HOSTENT_DATA buf; - int h_errno; // Not the same as errno! + int h_error; // Not the same as errno! hostent *hp = ACE_OS::gethostbyname_r (host_name, &hentry, - buf, &h_errno); + buf, &h_error); # endif /* VXWORKS */ if (hp == 0) @@ -704,7 +704,7 @@ ACE_INET_Addr::get_host_name_i (char hostname[], size_t len) const this->ip_addr_size (), this->get_type ()); # else - int h_errno; // Not the same as errno! + int h_error; // Not the same as errno! hostent hentry; ACE_HOSTENT_DATA buf; hostent *hp = @@ -713,7 +713,7 @@ ACE_INET_Addr::get_host_name_i (char hostname[], size_t len) const this->get_type (), &hentry, buf, - &h_errno); + &h_error); # endif /* CHORUS */ if (hp == 0 || hp->h_name == 0) |