mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-10 12:12:31 +00:00
Removed deprecated rak header files.
This commit is contained in:
+1
-1
@@ -222,7 +222,7 @@ object_to_target(const torrent::Object& obj, int call_flags, rpc::target_type* t
|
||||
|
||||
torrent::HashString hash;
|
||||
|
||||
if (torrent::utils::transform_from_hex(index.c_str(), index.c_str() + 40, hash.begin(), hash.end()) != hash.end())
|
||||
if (torrent::utils::transform_from_hex(index.c_str(), index.c_str() + 40, hash) != hash.end())
|
||||
throw torrent::input_error("invalid parameters: target is not a hex string");
|
||||
|
||||
*target = rpc::make_target(command_base::target_peer, rpc.slot_find_peer()(download, hash));
|
||||
|
||||
Reference in New Issue
Block a user