summaryrefslogtreecommitdiff
path: root/ace/ACE.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-02-17 21:59:10 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-02-17 21:59:10 +0000
commit9e61c47bc3a6145e7504ae0f79e50ec919e151e4 (patch)
tree3d1d041ecf4e7acf2975b4e98d606fd3a008ffd1 /ace/ACE.cpp
parent8e3406956d104f65e032b323e21914a61a0096f3 (diff)
downloadATCD-9e61c47bc3a6145e7504ae0f79e50ec919e151e4.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r--ace/ACE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp
index 031ec7f30fb..12f0380e538 100644
--- a/ace/ACE.cpp
+++ b/ace/ACE.cpp
@@ -2094,7 +2094,7 @@ ACE::recv_n (ACE_HANDLE handle,
i = ACE::recv (handle, (char *) buf + bytes_received,
n - bytes_received, flags, timeout);
- if (i == -1 || i == 0)
+ if (i == -1 || i == 0 || ACE_BIT_ENABLED (flags, MSG_PEEK))
break;
}