Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rakshasa/rtorrent
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshasa committed Jul 2, 2014
2 parents 81c6522 + f4c312e commit 7537a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/parse_commands.cc
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ parse_command(target_type target, const char* first, const char* last) {
first = std::find_if(first, last, std::not1(command_map_is_space()));

if (first == last || *first != '=')
throw torrent::input_error("Could not find '='.");
throw torrent::input_error("Could not find '=' in command '" + std::string(key) + "'.");

torrent::Object args;
first = parse_whole_list(first + 1, last, &args, &parse_is_delim_command);
Expand Down

0 comments on commit 7537a3c

Please sign in to comment.