summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Naming_Service
diff options
context:
space:
mode:
authordoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-17 18:52:14 +0000
committerdoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-17 18:52:14 +0000
commitd462b35c6c9cd56a7217eff4d3056ea8e6ee5237 (patch)
tree122b34bac1771820e12a620630ad821a8b2792ba /TAO/orbsvcs/Naming_Service
parent07f88e618c4ba3bd27c28c2d85c2ba32fd72c7dd (diff)
downloadATCD-d462b35c6c9cd56a7217eff4d3056ea8e6ee5237.tar.gz
ChangeLogTag: Thu Aug 17 11:46:49 2000 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'TAO/orbsvcs/Naming_Service')
-rw-r--r--TAO/orbsvcs/Naming_Service/Naming_Service.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/orbsvcs/Naming_Service/Naming_Service.cpp b/TAO/orbsvcs/Naming_Service/Naming_Service.cpp
index 373afed3ee9..5aa6f1e5a5f 100644
--- a/TAO/orbsvcs/Naming_Service/Naming_Service.cpp
+++ b/TAO/orbsvcs/Naming_Service/Naming_Service.cpp
@@ -48,7 +48,7 @@ TAO_Naming_Service::init (int argc,
// '-1' in case of an exception.
result = this->my_naming_server_.init_with_orb (this->argc_,
this->argv_,
- this->orb_.in ());
+ this->orb_);
if (result == -1)
return result;
@@ -70,7 +70,7 @@ TAO_Naming_Service::parse_args (int argc,
{
ACE_Get_Opt get_opts (argc, argv, "b:do:p:s:t:f:m:");
int c;
- int time;
+ int time = 0;
int count_argv = 0;
while ((c = get_opts ()) != -1)
@@ -92,12 +92,12 @@ TAO_Naming_Service::parse_args (int argc,
// of '-t' option.
argc = argc-2;
break;
-
- case '?':
- default:
- // Donot do anything. The TAO_Naming_Server::parse_args ()
- // takes care of indicating an error in case of error.
- break;
+
+ case '?':
+ default:
+ // Donot do anything. The TAO_Naming_Server::parse_args ()
+ // takes care of indicating an error in case of error.
+ break;
}
}
return 0;