summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO_Internal.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-12 22:38:24 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-12 22:38:24 +0000
commit488305ffa3c8016a7b2c946e59e5327147d24e96 (patch)
tree773532fb7adbf81e8ddf6069e43db93c808d64c9 /TAO/tao/TAO_Internal.cpp
parent6d0de2f348483b455d841e4184154ee820be99aa (diff)
downloadATCD-488305ffa3c8016a7b2c946e59e5327147d24e96.tar.gz
ChangeLogTag: Tue Jun 12 17:31:57 2001 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/TAO_Internal.cpp')
-rw-r--r--TAO/tao/TAO_Internal.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/tao/TAO_Internal.cpp b/TAO/tao/TAO_Internal.cpp
index 2c0e1aa7df9..7bcb192c2a1 100644
--- a/TAO/tao/TAO_Internal.cpp
+++ b/TAO/tao/TAO_Internal.cpp
@@ -136,10 +136,11 @@ TAO_Internal::open_services (int &argc, char **argv)
}
else if ((current_arg = arg_shifter.get_the_parameter ("-ORBServiceConfigLoggerKey")))
{
- svc_config_argv.add ("-k");
-
- svc_config_argv.add (current_arg);
-
+ svc_config_argv.length (len + 2); // 2 arguments to add
+
+ svc_config_argv[len] = CORBA::string_dup ("-k");
+ svc_config_argv[len + 1] = CORBA::string_dup (current_arg);
+
arg_shifter.consume_arg ();
}
// Can't interpret this argument. Move on to the next argument.