diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/TorrentsRPC.cpp /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/TorrentsRPC.cpp --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/TorrentsRPC.cpp 2026-08-21 13:33:28.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/TorrentsRPC.cpp 2026-08-21 13:22:06.000000000 +0000 @@ -52,7 +52,7 @@ static std::string_view RecognizeClientByPeerID (const PeerConnection::PeerID& peerID); - std::string HandleTorrentAdd (boost::json::object&& jsonRequest); - std::string HandleTorrentRemove (boost::json::object&& jsonRequest); - std::string HandleTorrentGet (boost::json::object&& jsonRequest); + std::string HandleTorrrentAdd (boost::json::object&& jsonRequest); + std::string HandleTorrrentRemove (boost::json::object&& jsonRequest); + std::string HandleTorrrentGet (boost::json::object&& jsonRequest); // https://github.com/transmission/transmission/blob/main/docs/rpc-spec.md#2-message-format std::string HandleSessionGet (boost::json::object&& jsonRequest); // for transmission-rpc library @@ -121,9 +121,9 @@ auto method = jsonRequest.at ("method").as_string (); if (method == "torrent-add") - return HandleTorrentAdd (std::move (jsonRequest)); + return HandleTorrrentAdd (std::move (jsonRequest)); else if (method == "torrent-remove") - return HandleTorrentRemove (std::move (jsonRequest)); + return HandleTorrrentRemove (std::move (jsonRequest)); else if (method == "torrent-get") - return HandleTorrentGet (std::move (jsonRequest)); + return HandleTorrrentGet (std::move (jsonRequest)); else if (method == "session-get") return HandleSessionGet( std::move (jsonRequest)); @@ -154,5 +154,5 @@ return SuccessResponse (GetTag (jsonRequest), std::move (response)); } - std::string JSONRPCHandler::HandleTorrentAdd (boost::json::object&& jsonRequest) + std::string JSONRPCHandler::HandleTorrrentAdd (boost::json::object&& jsonRequest) { auto arguments = jsonRequest.at ("arguments").as_object (); @@ -185,5 +185,5 @@ } - std::string JSONRPCHandler::HandleTorrentRemove (boost::json::object&& jsonRequest) + std::string JSONRPCHandler::HandleTorrrentRemove (boost::json::object&& jsonRequest) { auto arguments = jsonRequest.at ("arguments").as_object (); @@ -207,5 +207,5 @@ } - std::string JSONRPCHandler::HandleTorrentGet (boost::json::object&& jsonRequest) + std::string JSONRPCHandler::HandleTorrrentGet (boost::json::object&& jsonRequest) { auto arguments = jsonRequest.at ("arguments").as_object ();