chore(rpc/parse.cc): Fix typo

This commit is contained in:
PRESFIL
2025-06-11 18:34:26 +00:00
committed by Jari Sundell
parent c649e49a42
commit d9976af767
+2 -2
View File
@@ -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;