summaryrefslogtreecommitdiff
path: root/ACE/ace/Name_Proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Name_Proxy.cpp')
-rw-r--r--ACE/ace/Name_Proxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Name_Proxy.cpp b/ACE/ace/Name_Proxy.cpp
index e33237069fd..82d0bd27eca 100644
--- a/ACE/ace/Name_Proxy.cpp
+++ b/ACE/ace/Name_Proxy.cpp
@@ -166,7 +166,7 @@ ACE_Name_Proxy::recv_reply (ACE_Name_Request &reply)
case sizeof (ACE_UINT32):
{
// Transform the length into host byte order.
- ssize_t length = ACE_NTOHL (reply.length ());
+ ssize_t length = ntohl (reply.length ());
// Receive the rest of the request message.
// @@ beware of blocking read!!!.