summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
Diffstat (limited to 'ace')
-rw-r--r--ace/Timer_Heap.cpp2
-rw-r--r--ace/Timer_List.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ace/Timer_Heap.cpp b/ace/Timer_Heap.cpp
index 8b8e5735b35..c8b46e963be 100644
--- a/ace/Timer_Heap.cpp
+++ b/ace/Timer_Heap.cpp
@@ -490,7 +490,7 @@ ACE_Timer_Heap::cancel (int timer_id,
{
ACE_Timer_Node *temp = this->remove (timer_node_slot);
- if (dont_call_handle_close)
+ if (dont_call_handle_close == 0)
// Call the close hook.
temp->handler_->handle_close (ACE_INVALID_HANDLE,
ACE_Event_Handler::TIMER_MASK);
diff --git a/ace/Timer_List.cpp b/ace/Timer_List.cpp
index 75459345194..02773ef5019 100644
--- a/ace/Timer_List.cpp
+++ b/ace/Timer_List.cpp
@@ -238,7 +238,7 @@ ACE_Timer_List::cancel (int timer_id,
if (arg != 0)
*arg = curr->arg_;
- if (dont_call_handle_close)
+ if (dont_call_handle_close == 0)
// Call the close hook.
curr->handler_->handle_close (ACE_INVALID_HANDLE,
ACE_Event_Handler::TIMER_MASK);