summaryrefslogtreecommitdiff
path: root/ACE/ace/Service_Gestalt.inl
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2010-06-24 02:14:22 +0000
committerSteve Huston <shuston@riverace.com>2010-06-24 02:14:22 +0000
commit8a1e023a6544f9fdec4ffbcd760a8b963fae4ac0 (patch)
tree177219453668b42f257cf68371fa480dd21e8baa /ACE/ace/Service_Gestalt.inl
parent86c005a48a1a4b11996afae05d358ba9e9c4833e (diff)
downloadATCD-8a1e023a6544f9fdec4ffbcd760a8b963fae4ac0.tar.gz
ChangeLogTag:Thu Jun 24 02:07:18 UTC 2010 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/ace/Service_Gestalt.inl')
-rw-r--r--ACE/ace/Service_Gestalt.inl4
1 files changed, 3 insertions, 1 deletions
diff --git a/ACE/ace/Service_Gestalt.inl b/ACE/ace/Service_Gestalt.inl
index 7f6b4754154..873a930ceab 100644
--- a/ACE/ace/Service_Gestalt.inl
+++ b/ACE/ace/Service_Gestalt.inl
@@ -36,6 +36,8 @@ ACE_Service_Gestalt::open (int argc,
{
ACE_TRACE ("ACE_Service_Gestalt::open");
+ // Parsing argv may change no_static_svcs_ so set the default here, then
+ // parse, then pass the final value to open_i().
this->no_static_svcs_ = ignore_static_svcs;
if (this->parse_args_i (argc,
@@ -45,7 +47,7 @@ ACE_Service_Gestalt::open (int argc,
return this->open_i (argv == 0 ? 0 : argv[0],
logger_key,
- ignore_static_svcs,
+ this->no_static_svcs_,
ignore_default_svc_conf,
ignore_debug_flag);
}