summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-07 22:38:42 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-07 22:38:42 +0000
commit84fdc60918c36bdf7f3b76d010011abb2a9b9b25 (patch)
treeea9b7e325e5f333f134bb314b7e368c381ee3f4a
parentcda6b3d11bfa780cc0f8ae9604986d1dfbda3bc4 (diff)
downloadATCD-84fdc60918c36bdf7f3b76d010011abb2a9b9b25.tar.gz
.
-rw-r--r--TAO/examples/POA/DSI/client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/examples/POA/DSI/client.cpp b/TAO/examples/POA/DSI/client.cpp
index 589559e0705..66cd569662c 100644
--- a/TAO/examples/POA/DSI/client.cpp
+++ b/TAO/examples/POA/DSI/client.cpp
@@ -153,7 +153,7 @@ main (int argc, char **argv)
Database::NamedValue &second =
employee_attributes[1];
- char *name = "irfan";
+ const char *name = "irfan";
CORBA::Long id = 555;
first.name = CORBA::string_dup ("name");
@@ -161,7 +161,8 @@ main (int argc, char **argv)
second.name = CORBA::string_dup ("id");
second.value <<= id;
- ACE_OS::strcpy (str,"Database::Agent::create_entry");
+ ACE_OS::strcpy (str,
+ "Database::Agent::create_entry");
// Create an employee
Database::Entry_var entry =