diff options
Diffstat (limited to 'net/disk_cache/backend_impl.cc')
-rw-r--r-- | net/disk_cache/backend_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc index f5a8d0a..f0733a7 100644 --- a/net/disk_cache/backend_impl.cc +++ b/net/disk_cache/backend_impl.cc @@ -524,8 +524,9 @@ std::wstring BackendImpl::GetFileName(Addr address) const { return std::wstring(); } - std::wstring name = StringPrintf(L"%ls\\f_%06x", path_.c_str(), - address.FileNumber()); + std::wstring name(path_); + std::wstring tmp = StringPrintf(L"f_%06x", address.FileNumber()); + file_util::AppendToPath(&name, tmp); return name; } @@ -1111,4 +1112,3 @@ bool BackendImpl::CheckEntry(EntryImpl* cache_entry) { } } // namespace disk_cache - |