diff options
Diffstat (limited to 'examples/C++NPv2/AC_Client_Logging_Daemon.cpp')
-rw-r--r-- | examples/C++NPv2/AC_Client_Logging_Daemon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/C++NPv2/AC_Client_Logging_Daemon.cpp b/examples/C++NPv2/AC_Client_Logging_Daemon.cpp index 4a0cde2e8ee..dd70afabcf2 100644 --- a/examples/C++NPv2/AC_Client_Logging_Daemon.cpp +++ b/examples/C++NPv2/AC_Client_Logging_Daemon.cpp @@ -207,7 +207,7 @@ int AC_Output_Handler::svc () { } if (message_index >= ACE_IOV_MAX || (ACE_OS::gettimeofday () - time_of_last_send - >= FLUSH_TIMEOUT)) { + >= ACE_Time_Value(FLUSH_TIMEOUT))) { if (send (chunk, message_index) == -1) break; time_of_last_send = ACE_OS::gettimeofday (); } |