summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp')
-rw-r--r--TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp
index 0255d64c8f4..7e87c4770f7 100644
--- a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp
+++ b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp
@@ -197,12 +197,12 @@ ECMS_Driver::supplier_task (Test_Supplier *supplier,
CORBA::ULong n = this->event_size_;
ECM_IDLData::Info info;
- info.mobile_name = CORBA::string_dup ("test");
+ info.mobile_name = CORBA::string_copy ("test");
info.mobile_speed = 1;
info.trajectory.length (n);
ECM_Data other;
- other.description = CORBA::string_dup ("some data");
+ other.description = CORBA::string_copy ("some data");
for (CORBA::ULong j = 0; j < n; ++j)
{
@@ -408,7 +408,7 @@ ECMS_Driver::parse_args (int argc, char *argv [])
if (this->n_suppliers_ <= 0)
{
this->n_suppliers_ = 1;
- ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_ERROR_RETURN ((LM_DEBUG,
"%s: number of suppliers out of range, "
"reset to default (%d)\n",
argv[0], 1), -1);