mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 21:52:30 +00:00
* Fixed various valgrind warnings.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1189 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -472,7 +472,7 @@ p_call_target(const torrent::Object::list_type& args) {
|
||||
// New download commands and macros:
|
||||
//
|
||||
|
||||
torrent::Object
|
||||
torrent::Object&
|
||||
download_get_variable(core::Download* download, const char* first_key, const char* second_key = NULL) {
|
||||
if (second_key == NULL)
|
||||
return download->bencode()->get_key(first_key);
|
||||
|
||||
Reference in New Issue
Block a user