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
commit9edbaf4157d0858c193b562e71baa19533d8b25f (patch)
treefd0597fba3a784ff4c05d1c4bdf3244e09c65115 /ace/Service_Manager.cpp
parentf701e4d326183d6766064dcb83afddbf0a326662 (diff)
downloadATCD-9edbaf4157d0858c193b562e71baa19533d8b25f.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;