summaryrefslogtreecommitdiff
path: root/netsvcs/clients
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1997-07-23 17:56:15 +0000
committerSteve Huston <shuston@riverace.com>1997-07-23 17:56:15 +0000
commitd3c62d4b52d94e7ddc6d4be9ebc5db3fea97d774 (patch)
treeeec07cc666fd31a889381df0f82a84d174911076 /netsvcs/clients
parent4ae5496427f2bbc8aeeb5fe9c921f55c9be05fe7 (diff)
downloadATCD-d3c62d4b52d94e7ddc6d4be9ebc5db3fea97d774.tar.gz
Added 'const' to char * initialized from a string literal.
Diffstat (limited to 'netsvcs/clients')
-rw-r--r--netsvcs/clients/Logger/indirect_logging.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/netsvcs/clients/Logger/indirect_logging.cpp b/netsvcs/clients/Logger/indirect_logging.cpp
index 376e94db74e..360e3a22621 100644
--- a/netsvcs/clients/Logger/indirect_logging.cpp
+++ b/netsvcs/clients/Logger/indirect_logging.cpp
@@ -10,9 +10,9 @@
int
main (int argc, char *argv[])
{
- char *prog_name = argv[0];
+ const char *prog_name = argv[0];
int iterations = argc < 2 ? 10 : ACE_OS::atoi (argv[1]);
- char *logger_key = argc < 3 ? ACE_DEFAULT_RENDEZVOUS : argv[2];
+ const char *logger_key = argc < 3 ? ACE_DEFAULT_RENDEZVOUS : argv[2];
ACE_OS::srand ((u_int) ACE_OS::time (0));