summaryrefslogtreecommitdiff
path: root/apps/JAWS/clients/Caching/http_handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/JAWS/clients/Caching/http_handler.cpp')
-rw-r--r--apps/JAWS/clients/Caching/http_handler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/JAWS/clients/Caching/http_handler.cpp b/apps/JAWS/clients/Caching/http_handler.cpp
index b205451ec9a..d9f626c4d7f 100644
--- a/apps/JAWS/clients/Caching/http_handler.cpp
+++ b/apps/JAWS/clients/Caching/http_handler.cpp
@@ -137,7 +137,7 @@ HTTP_Handler::svc (void)
&& (::sscanf (contentlength, "\nContent-%*[lL]ength: %d ",
&this->response_size_) == 1))
{
- ACE_Filecache_Handle afh (ACE_TEXT_CHAR_TO_TCHAR (this->filename_),
+ ACE_Filecache_Handle afh (this->filename_,
this->response_size_);
this->peer ().recv_n (afh.address (), this->response_size_);
@@ -189,7 +189,7 @@ HTTP_Connector::connect (const char * url)
HTTP_Handler *hhptr = &hh;
// First check the cache.
- if (ACE_Filecache::instance ()->find (ACE_TEXT_CHAR_TO_TCHAR (hh.filename ())) == 0)
+ if (ACE_Filecache::instance ()->find (hh.filename ()) == 0)
{
ACE_DEBUG ((LM_DEBUG, " ``%s'' is already cached.\n",
hh.filename ()));