summaryrefslogtreecommitdiff
path: root/examples/Web_Crawler/URL_Visitor.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 /examples/Web_Crawler/URL_Visitor.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 'examples/Web_Crawler/URL_Visitor.cpp')
-rw-r--r--examples/Web_Crawler/URL_Visitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Web_Crawler/URL_Visitor.cpp b/examples/Web_Crawler/URL_Visitor.cpp
index 1422665ffb0..b4cd8138212 100644
--- a/examples/Web_Crawler/URL_Visitor.cpp
+++ b/examples/Web_Crawler/URL_Visitor.cpp
@@ -119,7 +119,7 @@ HTML_Body_Validation_Strategy::execute (void)
char temp[BUFSIZ + 1];
ACE_CString prev_location (temp);
- prev_location.set (ACE_TEXT_ALWAYS_CHAR (this->url_.url_addr ().get_path_name ()),
+ prev_location.set (ACE_TEXT_TO_CHAR_IN (this->url_.url_addr ().get_path_name ()),
ACE_OS::strlen (this->url_.url_addr ().get_path_name ()),
1);
int index = prev_location.rfind ('/', prev_location.length ());
@@ -164,7 +164,7 @@ HTML_Body_Validation_Strategy::execute (void)
ACE_URL_Addr,
0);
Auto_Destroyer<ACE_URL_Addr> url_addr_ptr (url_addr);
- if (url_addr_ptr->string_to_addr (ACE_TEXT_CHAR_TO_TCHAR (url.c_str ())) == 0)
+ if (url_addr_ptr->string_to_addr (ACE_TEXT_TO_TCHAR_IN (url.c_str ())) == 0)
{
HTTP_URL *http_url;
ACE_NEW_RETURN (http_url,