diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-09-17 07:52:52 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-09-17 07:52:52 +0000 |
commit | e60a5d9d9b55bcb774031e36f9ea96a5a8a6045d (patch) | |
tree | 6e47dd26396eea92224f8ecd241b3c96f7531c42 /ACE/ace/MEM_IO.inl | |
parent | 447b29bb6ee55ceb53aca914041c801baf05baa9 (diff) | |
download | ATCD-e60a5d9d9b55bcb774031e36f9ea96a5a8a6045d.tar.gz |
Removed trailing whitespaces
Diffstat (limited to 'ACE/ace/MEM_IO.inl')
-rw-r--r-- | ACE/ace/MEM_IO.inl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/ace/MEM_IO.inl b/ACE/ace/MEM_IO.inl index 341305c3fd9..0abaf6d4af4 100644 --- a/ACE/ace/MEM_IO.inl +++ b/ACE/ace/MEM_IO.inl @@ -129,7 +129,7 @@ ACE_MEM_IO::send (const void *buf, const ACE_Time_Value *timeout) { ACE_TRACE ("ACE_MEM_IO::send"); - + if (this->deliver_strategy_ == 0) { return 0; @@ -138,12 +138,12 @@ ACE_MEM_IO::send (const void *buf, ACE_MEM_SAP_Node *sbuf = this->deliver_strategy_->acquire_buffer ( ACE_Utils::truncate_cast<ssize_t> (len)); - + if (sbuf == 0) { return -1; // Memory buffer not initialized. } - + ACE_OS::memcpy (sbuf->data (), buf, len); /// @@ -166,17 +166,17 @@ ACE_MEM_IO::recv (void *buf, size_t count = 0; size_t buf_len = this->buf_size_ - this->cur_offset_; - + if (buf_len == 0) { ssize_t blen = // Buffer length this->fetch_recv_buf (flags, timeout); - + if (blen <= 0) { return blen; } - + buf_len = this->buf_size_; } |