mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-10 12:12:31 +00:00
Print iterator for TYPE_DICT_KEY, not object
This commit is contained in:
@@ -218,7 +218,7 @@ print_object_xml(const torrent::Object& obj, tinyxml2::XMLPrinter* printer) {
|
||||
if (obj.as_dict_obj().is_list()) {
|
||||
for (auto itr : obj.as_dict_obj().as_list()) {
|
||||
printer->OpenElement("value", true);
|
||||
print_object_xml(obj.as_dict_key(), printer);
|
||||
print_object_xml(itr, printer);
|
||||
printer->CloseElement(true);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user