diff options
author | Steve Huston <shuston@riverace.com> | 2002-05-29 14:55:42 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2002-05-29 14:55:42 +0000 |
commit | 344356993132a107a5de017d8f3e45e27648e7a2 (patch) | |
tree | 8992e6c983e16da5d26c6ad58de33c11b7049928 /examples/C++NPv2/Client_Logging_Daemon.cpp | |
parent | 6508298959951b9731b3522e3d392fa125729203 (diff) | |
download | ATCD-344356993132a107a5de017d8f3e45e27648e7a2.tar.gz |
.
Diffstat (limited to 'examples/C++NPv2/Client_Logging_Daemon.cpp')
-rw-r--r-- | examples/C++NPv2/Client_Logging_Daemon.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/C++NPv2/Client_Logging_Daemon.cpp b/examples/C++NPv2/Client_Logging_Daemon.cpp index 8e22445ca5d..0dc22ab24e1 100644 --- a/examples/C++NPv2/Client_Logging_Daemon.cpp +++ b/examples/C++NPv2/Client_Logging_Daemon.cpp @@ -175,7 +175,6 @@ void *CLD_Handler::forward () { >= FLUSH_TIMEOUT)) { if (send (blocks, message_index) == -1) break; time_of_last_send = ACE_OS::gettimeofday (); - message_index = 0; } } @@ -186,7 +185,7 @@ void *CLD_Handler::forward () { } -int CLD_Handler::send (ACE_Message_Block *blocks[], size_t count) { +int CLD_Handler::send (ACE_Message_Block *blocks[], size_t &count) { iovec iov[ACE_IOV_MAX]; size_t iov_size; int result = 0; |