summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/PortableInterceptors/Auth/ClientInterceptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/DevGuideExamples/PortableInterceptors/Auth/ClientInterceptor.cpp')
-rw-r--r--TAO/DevGuideExamples/PortableInterceptors/Auth/ClientInterceptor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/DevGuideExamples/PortableInterceptors/Auth/ClientInterceptor.cpp b/TAO/DevGuideExamples/PortableInterceptors/Auth/ClientInterceptor.cpp
index 7c952de272a..0a383f256c1 100644
--- a/TAO/DevGuideExamples/PortableInterceptors/Auth/ClientInterceptor.cpp
+++ b/TAO/DevGuideExamples/PortableInterceptors/Auth/ClientInterceptor.cpp
@@ -57,10 +57,10 @@ ClientInterceptor::send_request (
ACE_OS::strcpy (reinterpret_cast<char*> (buf), user_name);
- sc.context_data.replace (string_len, string_len, buf, 1);
+ sc.context_data.replace (string_len, string_len, buf, true);
// Add this context to the service context list.
- ri->add_request_service_context (sc, 0);
+ ri->add_request_service_context (sc, false);
}