export session_settings_map and fix rss issue in client_test
This commit is contained in:
@@ -897,7 +897,8 @@ bool handle_alert(libtorrent::session& ses, libtorrent::alert* a
|
||||
std::vector<char> buffer;
|
||||
bencode(std::back_inserter(buffer), te);
|
||||
std::string filename = ti.name() + "." + to_hex(ti.info_hash().to_string()) + ".torrent";
|
||||
save_file(combine_path(monitor_dir, filename), buffer);
|
||||
filename = combine_path(monitor_dir, filename);
|
||||
save_file(filename, buffer);
|
||||
|
||||
files.insert(std::pair<std::string, libtorrent::torrent_handle>(filename, h));
|
||||
non_files.erase(h);
|
||||
|
Reference in New Issue
Block a user