summaryrefslogtreecommitdiff
path: root/TAO/tao/Reactive_Flushing_Strategy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Reactive_Flushing_Strategy.cpp')
-rw-r--r--TAO/tao/Reactive_Flushing_Strategy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Reactive_Flushing_Strategy.cpp b/TAO/tao/Reactive_Flushing_Strategy.cpp
index 9cd855e8bf0..f7bff78c6c2 100644
--- a/TAO/tao/Reactive_Flushing_Strategy.cpp
+++ b/TAO/tao/Reactive_Flushing_Strategy.cpp
@@ -34,7 +34,7 @@ TAO_Reactive_Flushing_Strategy::flush_message (TAO_Transport *transport,
{
result = orb_core->run (max_wait_time, 1);
- if (max_wait_time != 0) {
+ if (max_wait_time != nullptr) {
if (*max_wait_time <= ACE_Time_Value::zero) {
errno = ETIME;
result = -1;
@@ -63,7 +63,7 @@ TAO_Reactive_Flushing_Strategy::flush_transport (TAO_Transport *transport
if (orb_core->run (max_wait_time, 1) == -1)
return -1;
- if (max_wait_time != 0) {
+ if (max_wait_time != nullptr) {
if (*max_wait_time <= ACE_Time_Value::zero) {
errno = ETIME;
return -1;