diff --git a/src/command_ui.cc b/src/command_ui.cc index d0646bd1..5cd1e4af 100644 --- a/src/command_ui.cc +++ b/src/command_ui.cc @@ -523,7 +523,7 @@ apply_elapsed_greater(const torrent::Object::list_type& args) { inline std::vector as_vector(const torrent::Object::list_type& args) { if (args.size() == 0) - throw torrent::input_error("Wrong argument count in as_list."); + throw torrent::input_error("Wrong argument count in as_vector."); std::vector result; @@ -537,7 +537,7 @@ as_vector(const torrent::Object::list_type& args) { std::vector subResult = as_vector(itr->as_list()); result.insert(result.end(), subResult.begin(), subResult.end()); } else { - throw torrent::input_error("Wrong type supplied to as_list."); + throw torrent::input_error("Wrong type supplied to as_vector."); } }