summaryrefslogtreecommitdiff
path: root/ace/Select_Reactor_T.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-24 19:26:03 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-24 19:26:03 +0000
commit68ab3eb6a607ea3ddc0d591ab42018a7726eeab2 (patch)
tree1a397124dfe968eafbc8780c35195ed78e8fb2a5 /ace/Select_Reactor_T.cpp
parent9b2313a34f11134cb59a8cd7d0a76f7c044214f5 (diff)
downloadATCD-68ab3eb6a607ea3ddc0d591ab42018a7726eeab2.tar.gz
Made sure we can pass out eh safely before we do so.
Diffstat (limited to 'ace/Select_Reactor_T.cpp')
-rw-r--r--ace/Select_Reactor_T.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Select_Reactor_T.cpp b/ace/Select_Reactor_T.cpp
index 3c572e06f8b..8d9c0d974f0 100644
--- a/ace/Select_Reactor_T.cpp
+++ b/ace/Select_Reactor_T.cpp
@@ -70,7 +70,7 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::handler_i (int signum,
if (handler == 0)
return -1;
- else if (*eh != 0)
+ else if (eh != 0 && *eh != 0)
*eh = handler;
return 0;
}