mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
Some missing from merge.
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
ec939a5bce
commit
f4be15a7af
1895 changed files with 160408 additions and 53601 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue