summaryrefslogtreecommitdiff
path: root/tao/HTTP_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tao/HTTP_Handler.cpp')
-rw-r--r--tao/HTTP_Handler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tao/HTTP_Handler.cpp b/tao/HTTP_Handler.cpp
index f0fb1a56425..fab1fe5d253 100644
--- a/tao/HTTP_Handler.cpp
+++ b/tao/HTTP_Handler.cpp
@@ -91,7 +91,9 @@ TAO_HTTP_Reader::send_request (void)
ACE_ERROR_RETURN((LM_ERROR,"TAO (%P|%t) - HTTP_Reader::send_request, request too large!"), -1);
// Create a message to send to the server requesting retrieval of the file
- int const len = ACE_OS::sprintf (mesg, "%s %s %s", request_prefix_, filename_, request_suffix_);
+ int const len = ACE_OS::sprintf (mesg, "%s %s %s", request_prefix_,
+ ACE_TEXT_ALWAYS_CHAR (filename_),
+ request_suffix_);
// Send the message to server
if (peer ().send_n (mesg, len) != len)