Replace tabs with spaces in more files.
--HG-- branch : trunk
This commit is contained in:
@@ -75,13 +75,13 @@ ACE_Reactive_MEM_IO::send_buf (ACE_MEM_SAP_Node *buf,
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
// The offset.
|
||||
ACE_OFF_T offset =
|
||||
ACE_Utils::truncate_cast<ACE_OFF_T> (
|
||||
reinterpret_cast<char *> (buf)
|
||||
- static_cast<char *> (this->shm_malloc_->base_addr ()));
|
||||
|
||||
|
||||
// Send the offset value over the socket.
|
||||
if (ACE::send (this->handle_,
|
||||
(const char *) &offset,
|
||||
@@ -94,7 +94,7 @@ ACE_Reactive_MEM_IO::send_buf (ACE_MEM_SAP_Node *buf,
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
return ACE_Utils::truncate_cast<ssize_t> (buf->size ());
|
||||
}
|
||||
|
||||
@@ -280,12 +280,12 @@ ACE_MT_MEM_IO::recv_buf (ACE_MEM_SAP_Node *&buf,
|
||||
ACE_GUARD_RETURN (ACE_SYNCH_PROCESS_MUTEX, ace_mon, *this->recv_channel_.lock_, -1);
|
||||
|
||||
buf = this->recv_channel_.queue_.read ();
|
||||
|
||||
|
||||
if (buf != 0)
|
||||
{
|
||||
return ACE_Utils::truncate_cast<ssize_t> (buf->size ());
|
||||
}
|
||||
|
||||
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@@ -403,9 +403,9 @@ ACE_MEM_IO::send (const ACE_Message_Block *message_block,
|
||||
reinterpret_cast<ACE_MEM_SAP_Node *> (
|
||||
this->deliver_strategy_->acquire_buffer (
|
||||
ACE_Utils::truncate_cast<ssize_t> (len)));
|
||||
|
||||
|
||||
size_t n = 0;
|
||||
|
||||
|
||||
while (message_block != 0)
|
||||
{
|
||||
ACE_OS::memcpy (static_cast<char *> (buf->data ()) + n,
|
||||
@@ -429,7 +429,7 @@ ACE_MEM_IO::send (const ACE_Message_Block *message_block,
|
||||
0,
|
||||
timeout);
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user