diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-25 17:51:07 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-25 17:51:07 +0000 |
commit | 2e683637ea5e9d2656105d5c099f48f4f0816e07 (patch) | |
tree | 61b41b0b05be0997e2f57938cb1ce7506d8d61d3 /TAO/tao/default_server.cpp | |
parent | 88c5f469d53c5cc9b1ec01d9eb0a18a3d4e346ae (diff) | |
download | ATCD-2e683637ea5e9d2656105d5c099f48f4f0816e07.tar.gz |
Reenabled -ORBdemuxstrategy to avoid surprise but instead spit out a warning about the change.
Diffstat (limited to 'TAO/tao/default_server.cpp')
-rw-r--r-- | TAO/tao/default_server.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/TAO/tao/default_server.cpp b/TAO/tao/default_server.cpp index 6ea29cc79da..7226e704f3b 100644 --- a/TAO/tao/default_server.cpp +++ b/TAO/tao/default_server.cpp @@ -356,8 +356,14 @@ TAO_Default_Server_Strategy_Factory::parse_args (int argc, char *argv[]) this->object_lookup_strategy_for_user_id_policy_ = TAO_USER_DEFINED; } } - else if (ACE_OS::strcmp (argv[curarg], "-ORBsystemidpolicydemuxstrategy") == 0) + else if (ACE_OS::strcmp (argv[curarg], "-ORBsystemidpolicydemuxstrategy") == 0 + || ACE_OS::strcmp (argv[curarg], "-ORBdemuxstrategy") == 0) { + // @@ -ORBdemuxstrategy is deprecated and should not be used anymore. + if (ACE_OS::strcmp (argv[curarg], "-ORBdemuxstrategy") == 0) + ACE_DEBUG ((LM_DEBUG, + "Warning: -ORBdemuxstrategy is deprecated. Please use -ORBsystemidpolicydemuxstrategy instead.\n")); + curarg++; if (curarg < argc) { |