* Minor portability fixes.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@638 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-02-16 18:14:52 +00:00
parent 1e5146121e
commit 1a7fccf2d9
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ DownloadFactory::receive_load() {
m_variables.set("tied_to_file", (int64_t)false);
} else {
m_stream = new std::fstream(rak::path_expand(m_uri).c_str(), std::ios::in);
m_stream = new std::fstream(rak::path_expand(m_uri).c_str(), std::ios::in | std::ios::binary);
if (m_stream->good())
receive_loaded();