diff options
Diffstat (limited to 'ace/Logging_Strategy.cpp')
-rw-r--r-- | ace/Logging_Strategy.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ace/Logging_Strategy.cpp b/ace/Logging_Strategy.cpp index 75d6011162b..fe6d4c5fc8c 100644 --- a/ace/Logging_Strategy.cpp +++ b/ace/Logging_Strategy.cpp @@ -382,9 +382,7 @@ ACE_Logging_Strategy::handle_timeout (const ACE_Time_Value &, const void *) { #if defined (ACE_LACKS_IOSTREAM_TOTALLY) - if ((size_t) ACE_OS::fseek (this->log_msg_->msg_ostream (), - 0, - SEEK_CUR) > this->max_size_) + if ((size_t) ACE_OS::ftell (this->log_msg_->msg_ostream ()) > this->max_size_) #else if ((size_t) this->log_msg_->msg_ostream ()->tellp () > this->max_size_) #endif /* ACE_LACKS_IOSTREAM_TOTALLY */ |