mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-05 17:52:29 +00:00
chore(rpc/parse.cc): Fix typo
This commit is contained in:
+2
-2
@@ -192,7 +192,7 @@ parse_object(const char* first, const char* last, torrent::Object* dest, bool (*
|
||||
}
|
||||
|
||||
if (depth > 3)
|
||||
throw torrent::input_error("Max 3 parantheses per object allowed.");
|
||||
throw torrent::input_error("Max 3 parentheses per object allowed.");
|
||||
|
||||
*dest = torrent::Object::create_dict_key();
|
||||
dest->set_flags(torrent::Object::flag_function << (depth - 1));
|
||||
@@ -216,7 +216,7 @@ parse_object(const char* first, const char* last, torrent::Object* dest, bool (*
|
||||
}
|
||||
|
||||
if (depth != 0)
|
||||
throw torrent::input_error("Parantheses mismatch.");
|
||||
throw torrent::input_error("Parentheses mismatch.");
|
||||
|
||||
return first;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user