* Added "close_low_diskspace" option that closes active downloads on

filesystems with less space left than what was passed as the
argument. Patch by Josef Drexler, public domain.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@703 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-05-25 19:44:13 +00:00
parent aaaf5d9a5d
commit 932296ce52
9 changed files with 245 additions and 1 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ bool
VariableMap::process_file(const std::string& path) {
std::fstream file(rak::path_expand(path).c_str(), std::ios::in);
if (!file.good())
if (!file.is_open())
return false;
int lineNumber = 0;