summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2022-10-05 09:20:14 +0200
committerAdam Mitz <mitza@objectcomputing.com>2022-10-28 13:32:49 -0500
commit96e74fbfbe2c31f42fdae5624851c3d42304f365 (patch)
treeb8421abdc1fedfe1bad4b819f8f3dbd0ef81e41c
parentf4512003c2fd03a7471c98a3a56a36353bfef15d (diff)
downloadATCD-96e74fbfbe2c31f42fdae5624851c3d42304f365.tar.gz
Merge pull request #1956 from jwillemsen/jwi-vxworksgethostbyaddr
VxWorks 7 also has the support for a non-reentrant version of gethostbyaddr (cherry picked from commit 1e84155d462e09d583a472c9fc70a06fa5d3054e) # Conflicts: # ACE/ace/os_include/os_netdb.h
-rw-r--r--ACE/ace/Pipe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Pipe.cpp b/ACE/ace/Pipe.cpp
index 2f31e82288e..2b095426a95 100644
--- a/ACE/ace/Pipe.cpp
+++ b/ACE/ace/Pipe.cpp
@@ -101,7 +101,7 @@ ACE_Pipe::open (int buffer_size)
ACE_INET_Addr sv_addr;
if (sv_addr.set (my_addr.get_port_number (), ACE_LOCALHOST) == -1)
{
- result == -1;
+ result = -1;
}
// Establish a connection within the same process.
else if (connector.connect (writer, sv_addr) == -1)