summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1997-11-22 22:01:33 +0000
committerSteve Huston <shuston@riverace.com>1997-11-22 22:01:33 +0000
commit25229ffc055cab9355b38f000835c44e05131a0e (patch)
tree2a0f1cfcca5fdda9840f4e711d81dc66abd6e2d3
parenta658c26660502d70aeb638916e20ed28e0bec376 (diff)
downloadATCD-25229ffc055cab9355b38f000835c44e05131a0e.tar.gz
Added 'const' to "char *r_addr" on line 176.
-rw-r--r--examples/Connection/non_blocking/CPP-connector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Connection/non_blocking/CPP-connector.cpp b/examples/Connection/non_blocking/CPP-connector.cpp
index 02c1ddbfa51..c8005d94190 100644
--- a/examples/Connection/non_blocking/CPP-connector.cpp
+++ b/examples/Connection/non_blocking/CPP-connector.cpp
@@ -173,7 +173,7 @@ IPC_Client<SH, PR_CO_2>::init (int argc, char *argv[])
// Call down to the CONNECTOR's open() method to do the initialization.
this->inherited::open (ACE_Reactor::instance ());
- char *r_addr = argc > 1 ? argv[1] :
+ const char *r_addr = argc > 1 ? argv[1] :
ACE_SERVER_ADDRESS (ACE_DEFAULT_SERVER_HOST,
ACE_DEFAULT_SERVER_PORT_STR);
ACE_Time_Value timeout (argc > 2