summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2015-03-16 18:42:41 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2015-03-16 18:42:41 +0100
commit14c695f8b20daf01fe06da0f0e449e64c9fd4144 (patch)
tree65fa9814c30ba21d533f4f88ff3954c864f21c3f
parentf2bdc9feaa3f1d79b369e3adc6b7b94107728181 (diff)
parentdf7bedd75668682974ec8b91074b013860a1a58c (diff)
downloadATCD-14c695f8b20daf01fe06da0f0e449e64c9fd4144.tar.gz
Merge pull request #33 from likema/feature/fix-tli
Fix errno checking logic in TLI
-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);