summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/DSI/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/DSI/client.cpp')
-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 =