Some missing from merge.

Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
Salja 2012-08-05 14:54:07 +02:00 committed by Antz
parent ec939a5bce
commit f4be15a7af
1895 changed files with 160408 additions and 53601 deletions

View file

@ -1,3 +1,5 @@
// $Id: SPIPE_Addr.cpp 91286 2010-08-05 09:04:31Z johnnyw $
#include "ace/SPIPE_Addr.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_NS_unistd.h"
@ -22,12 +24,14 @@ ACE_SPIPE_Addr::dump (void) const
// Set a pointer to the address.
void
ACE_SPIPE_Addr::set_addr (const void *addr, int len)
ACE_SPIPE_Addr::set_addr (void *addr, int len)
{
ACE_TRACE ("ACE_SPIPE_Addr::set_addr");
this->ACE_Addr::base_set (AF_SPIPE, len);
ACE_OS::memcpy (&this->SPIPE_addr_, addr, len);
ACE_OS::memcpy ((void *) &this->SPIPE_addr_,
(void *) addr,
len);
}
// Return the address.