mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-10 04:02:30 +00:00
* Added "close_on_ratio".
* Allow commands to be appended to "{stop,close}_on_ratio".
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@976 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -149,6 +149,11 @@ parse_command_multiple(target_type target, const char* first, const char* last)
|
||||
}
|
||||
}
|
||||
|
||||
parse_command_type
|
||||
parse_command_object(target_type target, const torrent::Object& object) {
|
||||
return parse_command(target, object.as_string().c_str(), object.as_string().c_str() + object.as_string().size());
|
||||
}
|
||||
|
||||
bool
|
||||
parse_command_file(const std::string& path) {
|
||||
std::fstream file(rak::path_expand(path).c_str(), std::ios::in);
|
||||
|
||||
Reference in New Issue
Block a user