summaryrefslogtreecommitdiff
path: root/ace/WFMO_Reactor.i
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/WFMO_Reactor.i
parent9b2313a34f11134cb59a8cd7d0a76f7c044214f5 (diff)
downloadATCD-68ab3eb6a607ea3ddc0d591ab42018a7726eeab2.tar.gz
Made sure we can pass out eh safely before we do so.
Diffstat (limited to 'ace/WFMO_Reactor.i')
-rw-r--r--ace/WFMO_Reactor.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/WFMO_Reactor.i b/ace/WFMO_Reactor.i
index 0b204c6b736..d0c51c64a5a 100644
--- a/ace/WFMO_Reactor.i
+++ b/ace/WFMO_Reactor.i
@@ -972,7 +972,7 @@ ACE_WFMO_Reactor::handler (int signum, ACE_Event_Handler **eh)
if (handler == 0)
return -1;
- else if (*eh != 0)
+ else if (eh != 0 && *eh != 0)
*eh = handler;
return 0;
}