From ca85a076e59719815985f6046aebae5030eab00a Mon Sep 17 00:00:00 2001 From: Anon2026 Date: Thu, 15 Oct 2026 22:41:31 +0300 Subject: [PATCH] fix typos --- daemon/HaikuDaemon.cpp | 2 +- libi2pd/NTCP2.cpp | 4 ++-- libi2pd/RouterInfo.cpp | 2 +- libi2pd_client/TorrentsDHT.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/daemon/HaikuDaemon.cpp b/daemon/HaikuDaemon.cpp index e44b2efe..de592e0e 100644 --- a/daemon/HaikuDaemon.cpp +++ b/daemon/HaikuDaemon.cpp @@ -171,7 +171,7 @@ void MainWindow :: DrawTunnel(std::stringstream & s) m_tab_view->RemoveTab(m_tab_view->CountTabs() - 1); } m_counter_streams = 0; - //std::cout << "Draw List View" << std::endl;; + //std::cout << "Draw List View" << std::endl; if(!dest) { s << "Can't found local dest\r\n"; diff --git a/libi2pd/NTCP2.cpp b/libi2pd/NTCP2.cpp index 5ff2cb2e..f6bbd414 100644 --- a/libi2pd/NTCP2.cpp +++ b/libi2pd/NTCP2.cpp @@ -737,7 +737,7 @@ namespace transport boost::asio::post (m_Server.GetEstablisherService (), [s = shared_from_this (), bytes_transferred] () { - s->ProcessSessionRequest (bytes_transferred);; + s->ProcessSessionRequest (bytes_transferred); }); } } @@ -978,7 +978,7 @@ namespace transport boost::asio::post (m_Server.GetEstablisherService (), [s = shared_from_this ()] () { - s->ProcessSessionConfirmed ();; + s->ProcessSessionConfirmed (); }); } } diff --git a/libi2pd/RouterInfo.cpp b/libi2pd/RouterInfo.cpp index ca207083..b61b069d 100644 --- a/libi2pd/RouterInfo.cpp +++ b/libi2pd/RouterInfo.cpp @@ -1205,7 +1205,7 @@ namespace data { auto transports = m_SupportedTransports & other.m_SupportedTransports; if (!transports) return false; - auto addresses1 = GetAddresses (), addresses2 = other.GetAddresses ();; + auto addresses1 = GetAddresses (), addresses2 = other.GetAddresses (); for (int i = 0; i < eNumTransports; i++) if (i != eNTCP2V6MeshIdx && (transports & (1 << i))) { diff --git a/libi2pd_client/TorrentsDHT.cpp b/libi2pd_client/TorrentsDHT.cpp index 56bc2a9d..ff25d3b8 100644 --- a/libi2pd_client/TorrentsDHT.cpp +++ b/libi2pd_client/TorrentsDHT.cpp @@ -290,7 +290,7 @@ namespace torrents else it++; } - return m_Peers.empty ();; + return m_Peers.empty (); } bool RequestInfo::AddNode (std::shared_ptr node)