summaryrefslogtreecommitdiff
path: root/examples/Service_Configurator
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-01-17 22:15:14 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-01-17 22:15:14 +0000
commit0ac9abc4a5a288c51fe7dd3a0b0a95fd5e69491a (patch)
tree0958007a4ea01b1802cdc9a5088166de358d7436 /examples/Service_Configurator
parent535696b46f01d66ffe8a3eccf607fd5fdb9235bd (diff)
downloadATCD-0ac9abc4a5a288c51fe7dd3a0b0a95fd5e69491a.tar.gz
*** empty log message ***
Diffstat (limited to 'examples/Service_Configurator')
-rw-r--r--examples/Service_Configurator/Misc/main.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/Service_Configurator/Misc/main.cpp b/examples/Service_Configurator/Misc/main.cpp
index f898ae8b974..ec2078076a7 100644
--- a/examples/Service_Configurator/Misc/main.cpp
+++ b/examples/Service_Configurator/Misc/main.cpp
@@ -11,10 +11,11 @@ ACE_STATIC_SVC_REQUIRE(Timer_Service)
int
main (int argc, char *argv[])
{
- ACE_Service_Config daemon;
-
- if (daemon.open (argc, argv) == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "open"), 1);
+ if (ACE_Service_Config::open (argc, argv) == -1)
+ ACE_ERROR_RETURN ((LM_ERROR,
+ "%p\n",
+ "open"),
+ 1);
// Run forever, performing the configured services until we receive
// a SIGINT.