summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Notify_Service/Notify_Server.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-07-05 06:23:30 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-07-05 06:23:30 +0000
commit020d1ec59a5ca979216244b85431d12214b330f2 (patch)
treef7cb1b5f80d636a396fc0925462b51095dcae066 /TAO/orbsvcs/Notify_Service/Notify_Server.cpp
parentc53cf0d84653776477dddd99d52efd7d292a77c9 (diff)
downloadATCD-020d1ec59a5ca979216244b85431d12214b330f2.tar.gz
Thu Jul 5 06:22:00 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/Notify_Service/Notify_Server.cpp')
-rw-r--r--TAO/orbsvcs/Notify_Service/Notify_Server.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/TAO/orbsvcs/Notify_Service/Notify_Server.cpp b/TAO/orbsvcs/Notify_Service/Notify_Server.cpp
index aa652e311fe..e90cfe8cd31 100644
--- a/TAO/orbsvcs/Notify_Service/Notify_Server.cpp
+++ b/TAO/orbsvcs/Notify_Service/Notify_Server.cpp
@@ -50,16 +50,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
try
{
- // Set the properties instance before initializing the notify
- // service. Using the static singleton can cause static
- // destruction issues between the properties instance and
- // statically allocated type code structures.
- TAO_Notify_Properties properties;
- TAO_Notify_Properties::instance (&properties);
-
- int result = notify_service.init (argc, argv);
-
- if (result == -1)
+ if (notify_service.init (argc, argv) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
ACE_TEXT("Failed to initialize the Notification Service.\n")),
1);