summaryrefslogtreecommitdiff
path: root/ace/Service_Manager.cpp
diff options
context:
space:
mode:
authorpgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-20 19:25:34 +0000
committerpgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-20 19:25:34 +0000
commit468ec4f012647709c1001793c8427035c74abaad (patch)
treefd0597fba3a784ff4c05d1c4bdf3244e09c65115 /ace/Service_Manager.cpp
parentfbb281efa5522412c98661df6fc0f86b875aff08 (diff)
downloadATCD-468ec4f012647709c1001793c8427035c74abaad.tar.gz
ChangeLogTag: Wed Mar 20 11:23:38 2002 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'ace/Service_Manager.cpp')
-rw-r--r--ace/Service_Manager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/Service_Manager.cpp b/ace/Service_Manager.cpp
index 6a83b1b3147..84fa709ddf8 100644
--- a/ace/Service_Manager.cpp
+++ b/ace/Service_Manager.cpp
@@ -308,10 +308,12 @@ ACE_Service_Manager::handle_input (ACE_HANDLE)
// the system is heavily loaded. Read bytes into the buffer until a
// '\n' or '\r' is found in the buffer, otherwise the buffer
// contains an incomplete string.
+
+ int error;
do
{
result = client_stream_.recv (offset, remaining);
- int error = errno;
+ error = errno;
if (result == 0 && error != EWOULDBLOCK)
remaining = 0;