mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 15:19:20 +00:00
* Cleaning up command names. The deprecated commands will be redirected.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1131 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -78,6 +78,13 @@ CommandFunction::call(Command* rawCommand, target_type target, const torrent::Ob
|
||||
return result;
|
||||
}
|
||||
|
||||
const torrent::Object
|
||||
CommandFunction::call_redirect(Command* rawCommand, target_type target, const torrent::Object& args) {
|
||||
CommandFunction* command = reinterpret_cast<CommandFunction*>(rawCommand);
|
||||
|
||||
return commands.call_command(command->m_command.c_str(), args, target);
|
||||
}
|
||||
|
||||
const torrent::Object
|
||||
CommandFunctionList::call(Command* rawCommand, target_type target, const torrent::Object& args) {
|
||||
char* buffer[sizeof(torrent::Object) * Command::max_arguments];
|
||||
|
||||
Reference in New Issue
Block a user