diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-04 00:06:38 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-04 00:06:38 +0000 |
commit | 70d108545611dbb86049d0109ef4a7ab1ef6289e (patch) | |
tree | 790c9b07d5eac35a82ae7d9f5e7b59a6243a4b2c /netsvcs | |
parent | 1c44106287219a05ddbff09df4574b90777040ae (diff) | |
download | ATCD-70d108545611dbb86049d0109ef4a7ab1ef6289e.tar.gz |
foo
Diffstat (limited to 'netsvcs')
-rw-r--r-- | netsvcs/servers/main.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/netsvcs/servers/main.cpp b/netsvcs/servers/main.cpp index b2f614c1567..67c5c9f3b57 100644 --- a/netsvcs/servers/main.cpp +++ b/netsvcs/servers/main.cpp @@ -60,36 +60,36 @@ main (int argc, char *argv[]) l_argv[1] = 0; Service_Ptr sp_2 = ACE_SVC_INVOKE (ACE_TS_Server_Acceptor); - if (so->init (1, l_argv) == -1) + if (sp_2->init (1, l_argv) == -1) ACE_ERROR ((LM_ERROR, "%p\n%a", "ACE_TS_Server_Acceptor", 1)); l_argv[0] = argv[0]; l_argv[1] = "-p 10011"; l_argv[2] = 0; - Service_Ptr sp_2 = ACE_SVC_INVOKE (ACE_TS_Clerk_Processor); + Service_Ptr sp_3 = ACE_SVC_INVOKE (ACE_TS_Clerk_Processor); - if (sp_2->init (2, l_argv) == -1) + if (sp_3->init (2, l_argv) == -1) ACE_ERROR ((LM_ERROR, "%p\n%a", "ACE_TS_Clerk_Processor", 1)); l_argv[0] = "-p " ACE_DEFAULT_TOKEN_SERVER_PORT_STR; l_argv[1] = 0; - Service_Ptr sp_3 = ACE_SVC_INVOKE (ACE_Token_Acceptor); + Service_Ptr sp_4 = ACE_SVC_INVOKE (ACE_Token_Acceptor); - if (sp_3->init (1, l_argv) == -1) + if (sp_4->init (1, l_argv) == -1) ACE_ERROR ((LM_ERROR, "%p\n%a", "Token_Service", 1)); l_argv[0] = "-p " ACE_DEFAULT_LOGGING_SERVER_PORT_STR; l_argv[1] = 0; - Service_Ptr sp_4 = ACE_SVC_INVOKE (ACE_Server_Logging_Acceptor); + Service_Ptr sp_5 = ACE_SVC_INVOKE (ACE_Server_Logging_Acceptor); - if (sp_4->init (1, l_argv) == -1) + if (sp_5->init (1, l_argv) == -1) ACE_ERROR ((LM_ERROR, "%p\n%a", "Logging_Service", 1)); l_argv[0] = "-p " ACE_DEFAULT_THR_LOGGING_SERVER_PORT_STR; l_argv[1] = 0; - Service_Ptr sp_5 = ACE_SVC_INVOKE (ACE_Thr_Server_Logging_Acceptor); + Service_Ptr sp_6 = ACE_SVC_INVOKE (ACE_Thr_Server_Logging_Acceptor); - if (sp_5->init (1, l_argv) == -1) + if (sp_6->init (1, l_argv) == -1) ACE_ERROR ((LM_ERROR, "%p\n%a", "Thr_Logging_Service", 1)); } |