summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ace/IPC_SAP.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/IPC_SAP.cpp b/ace/IPC_SAP.cpp
index 8c1c904b768..369f955dcfe 100644
--- a/ace/IPC_SAP.cpp
+++ b/ace/IPC_SAP.cpp
@@ -140,7 +140,8 @@ ACE_IPC_SAP::disable (int signum) const
case ACE_NONBLOCK:
if (ACE::clr_flags (this->handle_, ACE_NONBLOCK) == -1)
return -1;
- break;
+ else
+ return 0;
default:
return -1;
}