* Fixed 'network.http.dns_cache_timeout{,.set}'.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1265 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2011-08-07 11:06:29 +00:00
parent ea192b342c
commit c7ad0a90da
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -85,12 +85,12 @@ cg_get_group(const torrent::Object& raw_args) {
int64_t
cg_d_group(core::Download* download) {
return torrent::resource_manager()->entry_at(download->main())->group();
return torrent::resource_manager()->entry_at(download->main()).group();
}
void
cg_d_group_set(core::Download* download, const torrent::Object& arg) {
torrent::resource_manager::set_group(torrent::resource_manager()->find_throw(download->main()), cg_get_index(arg));
torrent::resource_manager()->set_group(torrent::resource_manager()->find_throw(download->main()), cg_get_index(arg));
}
torrent::Object