summaryrefslogtreecommitdiff
path: root/protocols/ace/HTBP/HTBP_ID_Requestor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ace/HTBP/HTBP_ID_Requestor.cpp')
-rw-r--r--protocols/ace/HTBP/HTBP_ID_Requestor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/ace/HTBP/HTBP_ID_Requestor.cpp b/protocols/ace/HTBP/HTBP_ID_Requestor.cpp
index d46b16d0e3b..85e2931c0ec 100644
--- a/protocols/ace/HTBP/HTBP_ID_Requestor.cpp
+++ b/protocols/ace/HTBP/HTBP_ID_Requestor.cpp
@@ -83,7 +83,7 @@ ACE::HTBP::ID_Requestor::send_request (ACE_SOCK_Stream *cli_stream)
char *buffer;
ACE_NEW_RETURN (buffer, char[this->url_.length()+16],-1);
ACE_OS::sprintf (buffer,"GET %s HTTP/1.0\n\n",
- ACE_TEXT_ALWAYS_CHAR(url_.c_str()));
+ ACE_TEXT_TO_CHAR_IN(url_.c_str()));
int result = cli_stream->send_n (buffer,ACE_OS::strlen(buffer));
delete [] buffer;
if (result == -1)
@@ -114,7 +114,7 @@ ACE::HTBP::ID_Requestor::get_HTID ()
ACE_Utils::UUID_Generator gen;
ACE_Utils::UUID *uuid = gen.generateUUID ();
const ACE_CString *uuidstr = uuid->to_string();
- ACE::HTBP::ID_Requestor::htid_ = ACE_TEXT_CHAR_TO_TCHAR (uuidstr->c_str());
+ ACE::HTBP::ID_Requestor::htid_ = ACE_TEXT_TO_TCHAR_IN (uuidstr->c_str());
delete uuid;
return ACE::HTBP::ID_Requestor::htid_.rep();
}
@@ -130,7 +130,7 @@ ACE::HTBP::ID_Requestor::get_HTID ()
start = 0;
else
start++;
- ACE::HTBP::ID_Requestor::htid_ = ACE_TEXT_CHAR_TO_TCHAR(answer.substr (start).c_str());
+ ACE::HTBP::ID_Requestor::htid_ = ACE_TEXT_TO_TCHAR_IN(answer.substr (start).c_str());
htid = ACE::HTBP::ID_Requestor::htid_.rep();
}
return htid;