English corrections.

This commit is contained in:
anonimal 2015-10-05 11:44:48 +00:00
parent 7c924e13d9
commit dd88e13b95
23 changed files with 48 additions and 48 deletions

View file

@ -547,7 +547,7 @@ namespace tunnel
if (m_OutboundTunnels.size () < 5)
{
// trying to create one more oubound tunnel
// trying to create one more outbound tunnel
auto inboundTunnel = GetNextInboundTunnel ();
auto router = i2p::data::netdb.GetRandomRouter ();
if (!inboundTunnel || !router) return;

View file

@ -199,7 +199,7 @@ namespace tunnel
return;
hop = hop->next;
}
// we didn't reach enpoint that mean we are last hop
// we didn't reach endpoint that mean we are last hop
s << ":me";
}

View file

@ -106,7 +106,7 @@ namespace tunnel
{
if (msgID) // msgID is presented, assume message is fragmented
{
if (!isFollowOnFragment) // create new incomlete message
if (!isFollowOnFragment) // create new incomplete message
{
m.nextFragmentNum = 1;
auto ret = m_IncompleteMessages.insert (std::pair<uint32_t, TunnelMessageBlockEx>(msgID, m));

View file

@ -32,12 +32,12 @@ namespace tunnel
if (m_NumInboundHops > size)
{
m_NumInboundHops = size;
LogPrint (eLogInfo, "Inbound tunnel length has beed adjusted to ", size, " for explicit peers");
LogPrint (eLogInfo, "Inbound tunnel length has been adjusted to ", size, " for explicit peers");
}
if (m_NumOutboundHops > size)
{
m_NumOutboundHops = size;
LogPrint (eLogInfo, "Outbound tunnel length has beed adjusted to ", size, " for explicit peers");
LogPrint (eLogInfo, "Outbound tunnel length has been adjusted to ", size, " for explicit peers");
}
m_NumInboundTunnels = 1;
m_NumOutboundTunnels = 1;