summaryrefslogtreecommitdiff
path: root/protocols/ace/HTBP/HTBP_ID_Requestor.cpp
diff options
context:
space:
mode:
authorjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-05-08 23:00:05 +0000
committerjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-05-08 23:00:05 +0000
commitd1160e68b1301a8b0e120ba8da56bb2e7d4fb49e (patch)
treecf04398acb7ad9fb45311eb105d60975028bbc03 /protocols/ace/HTBP/HTBP_ID_Requestor.cpp
parent1c3dd540264435be21072a3a69a8a8e969bd2b1a (diff)
downloadATCD-oci_wchar_refactor_post_1_5_1_branch.tar.gz
Fri May 5 14:33:29 UTC 2006 Ciju John <john_c@ociweb.com>oci_wchar_refactor_post_1_5_1_branch
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;