From d9976af7676f9e0d17ddb43256fb28aadbe3d7cc Mon Sep 17 00:00:00 2001 From: PRESFIL Date: Wed, 11 Jun 2025 18:34:26 +0000 Subject: [PATCH] chore(rpc/parse.cc): Fix typo --- src/rpc/parse.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc/parse.cc b/src/rpc/parse.cc index e270fcb5..5c756510 100644 --- a/src/rpc/parse.cc +++ b/src/rpc/parse.cc @@ -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;