Changeset 2997

Show
Ignore:
Timestamp:
05/01/06 19:03:20 (3 years ago)
Author:
madcat
Message:

0.3 HOTFIX: Fixes torrents downloading [ mingw / win32 build ]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • hydranode/hncore/bt/bittorrent.cpp

    r2920 r2997  
    411411        // else, since this is needed for us to later reload the torrent 
    412412        boost::filesystem::path cacheLoc( 
    413                 getCacheDir() / (ti.getName() + ".torrent"
     413                getCacheDir() / path(ti.getName() + ".torrent", native
    414414        ); 
    415415        std::ofstream ofs2( 
     
    554554        return true; 
    555555} catch (std::exception &e) { // path constructor and createTorrent may throw 
    556         logDebug(boost::format("Bittorrent: %s") % e.what()); 
     556        logError(boost::format("Bittorrent: %s") % e.what()); 
    557557        return false; 
    558558} MSVC_ONLY(;) 
     
    569569        return true; 
    570570} catch (std::exception &e) { // createTorrent may throw 
    571         logDebug(boost::format("Bittorrent: %s") % e.what()); 
     571        logError(boost::format("Bittorrent: %s") % e.what()); 
    572572        return false; 
    573573} MSVC_ONLY(;)