mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10: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: Service_Manager.cpp 96985 2013-04-11 15:50:32Z huangh $
|
||||
|
||||
#include "ace/Service_Manager.h"
|
||||
|
||||
#include "ace/Get_Opt.h"
|
||||
|
|
@ -78,11 +80,11 @@ ACE_Service_Manager::info (ACE_TCHAR **strp, size_t length) const
|
|||
return -1;
|
||||
}
|
||||
|
||||
ACE_OS::snprintf (buf, BUFSIZ,
|
||||
ACE_TEXT ("%d/%s %s"),
|
||||
sa.get_port_number (),
|
||||
ACE_TEXT ("tcp"),
|
||||
ACE_TEXT ("# lists all services in the daemon\n"));
|
||||
ACE_OS::sprintf (buf,
|
||||
ACE_TEXT ("%d/%s %s"),
|
||||
sa.get_port_number (),
|
||||
ACE_TEXT ("tcp"),
|
||||
ACE_TEXT ("# lists all services in the daemon\n"));
|
||||
|
||||
if (*strp == 0 && (*strp = ACE_OS::strdup (buf)) == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue