Changeset 2997
- Timestamp:
- 05/01/06 19:03:20 (3 years ago)
- Files:
-
- hydranode/hncore/bt/bittorrent.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
hydranode/hncore/bt/bittorrent.cpp
r2920 r2997 411 411 // else, since this is needed for us to later reload the torrent 412 412 boost::filesystem::path cacheLoc( 413 getCacheDir() / (ti.getName() + ".torrent")413 getCacheDir() / path(ti.getName() + ".torrent", native) 414 414 ); 415 415 std::ofstream ofs2( … … 554 554 return true; 555 555 } catch (std::exception &e) { // path constructor and createTorrent may throw 556 log Debug(boost::format("Bittorrent: %s") % e.what());556 logError(boost::format("Bittorrent: %s") % e.what()); 557 557 return false; 558 558 } MSVC_ONLY(;) … … 569 569 return true; 570 570 } catch (std::exception &e) { // createTorrent may throw 571 log Debug(boost::format("Bittorrent: %s") % e.what());571 logError(boost::format("Bittorrent: %s") % e.what()); 572 572 return false; 573 573 } MSVC_ONLY(;)
