summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLike Ma <likemartinma@gmail.com>2015-03-14 14:31:29 +0800
committerLike Ma <likemartinma@gmail.com>2015-03-14 14:31:29 +0800
commitdf7bedd75668682974ec8b91074b013860a1a58c (patch)
tree65fa9814c30ba21d533f4f88ff3954c864f21c3f
parentf2bdc9feaa3f1d79b369e3adc6b7b94107728181 (diff)
downloadATCD-df7bedd75668682974ec8b91074b013860a1a58c.tar.gz
Fix errno checking logic.
-rw-r--r--ACE/ace/ACE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/ACE.cpp b/ACE/ace/ACE.cpp
index 20e54dab5c9..0e35b2ceb8a 100644
--- a/ACE/ace/ACE.cpp
+++ b/ACE/ace/ACE.cpp
@@ -1529,7 +1529,7 @@ ACE::t_snd_n_i (ACE_HANDLE handle,
{
// Check for possible blocking.
if (n == -1 &&
- errno == EWOULDBLOCK || errno == ENOBUFS)
+ (errno == EWOULDBLOCK || errno == ENOBUFS))
{
// Wait upto <timeout> for the blocking to subside.
int const rtn = ACE::handle_write_ready (handle, timeout);