diff options
author | eea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-11 19:44:30 +0000 |
---|---|---|
committer | eea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-11 19:44:30 +0000 |
commit | f41a0e16183e20810a315d91ed44b634287bae1d (patch) | |
tree | 7b1b84f481f49bd21e0835b11ca5af8ba05fac88 /ace/Name_Proxy.cpp | |
parent | 237f6316e8491e8ff061e8d006bbf0ba669294f0 (diff) | |
download | ATCD-f41a0e16183e20810a315d91ed44b634287bae1d.tar.gz |
Replaced a recv with a recv_n. (This helps compatibility with the JACE
side, and is probably a good idea in general.)
Diffstat (limited to 'ace/Name_Proxy.cpp')
-rw-r--r-- | ace/Name_Proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Name_Proxy.cpp b/ace/Name_Proxy.cpp index ca428ff2ded..30941f4b0b2 100644 --- a/ace/Name_Proxy.cpp +++ b/ace/Name_Proxy.cpp @@ -82,7 +82,7 @@ ACE_Name_Proxy::request_reply (ACE_Name_Request &request) // Receive reply via blocking read. - if (this->peer_.recv (&reply, sizeof reply) == -1) + if (this->peer_.recv_n (&reply, sizeof reply) == -1) ACE_ERROR_RETURN ((LM_ERROR, ASYS_TEXT ("%p\n"), ASYS_TEXT ("recv failed")), -1); else if (reply.decode () == -1) |