1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

Miss Match demands her name be removed from the code

(i.e. fix speeling mistack: missmatch -> mismatch)
This commit is contained in:
Jason Rhinelander 2020-05-13 22:35:15 -03:00
parent e6a85d7176
commit dccc663f31
6 changed files with 11 additions and 11 deletions

View file

@ -19,7 +19,7 @@ namespace llarp
return false;
if (introset.topic.value() != target)
{
llarp::LogWarn("got introset with missmatched topic in tag lookup");
llarp::LogWarn("got introset with mismatched topic in tag lookup");
return false;
}
return true;

View file

@ -69,7 +69,7 @@ namespace llarp
if (msg->rc.pubkey != m_ExpectedIdent)
{
LogError(
"ident key missmatch from ",
"ident key mismatch from ",
m_RemoteAddr,
" ",
msg->rc.pubkey,
@ -89,7 +89,7 @@ namespace llarp
{
if (msg->rc.pubkey != m_RemoteRC.pubkey)
{
LogError("ident key missmatch");
LogError("ident key mismatch");
return false;
}
m_RemoteRC = msg->rc;
@ -455,7 +455,7 @@ namespace llarp
const auto begin = pkt.data() + PacketOverhead;
if (not std::equal(begin, begin + token.size(), token.data()))
{
LogError("token missmatch from ", m_RemoteAddr);
LogError("token mismatch from ", m_RemoteAddr);
return;
}
m_LastRX = m_Parent->Now();
@ -565,7 +565,7 @@ namespace llarp
if (H != expected)
{
LogError(
"keyed hash missmatch ",
"keyed hash mismatch ",
H,
" != ",
expected,
@ -614,7 +614,7 @@ namespace llarp
if (pkt[PacketOverhead] != LLARP_PROTO_VERSION)
{
LogError(
"protocol version missmatch ", int(pkt[PacketOverhead]), " != ", LLARP_PROTO_VERSION);
"protocol version mismatch ", int(pkt[PacketOverhead]), " != ", LLARP_PROTO_VERSION);
continue;
}
recvMsgs->emplace_back(std::move(pkt));
@ -827,7 +827,7 @@ namespace llarp
}
else
{
LogError("hash missmatch for message ", itr->first);
LogError("hash mismatch for message ", itr->first);
}
m_RXMsgs.erase(itr);
}

View file

@ -45,7 +45,7 @@ namespace llarp
return false;
if (version != LLARP_PROTO_VERSION)
{
llarp::LogWarn("llarp protocol version missmatch ", version, " != ", LLARP_PROTO_VERSION);
llarp::LogWarn("llarp protocol version mismatch ", version, " != ", LLARP_PROTO_VERSION);
return false;
}
llarp::LogDebug("LIM version ", version);

View file

@ -186,7 +186,7 @@ namespace llarp
bool
RCLookupHandler::CheckRenegotiateValid(RouterContact newrc, RouterContact oldrc)
{
// missmatch of identity ?
// mismatch of identity ?
if (newrc.pubkey != oldrc.pubkey)
return false;

View file

@ -321,7 +321,7 @@ namespace llarp
{
if (netID != NetID::DefaultValue())
{
llarp::LogError("netid missmatch: '", netID, "' != '", NetID::DefaultValue(), "'");
llarp::LogError("netid mismatch: '", netID, "' != '", NetID::DefaultValue(), "'");
return false;
}
if (IsExpired(now))

View file

@ -245,7 +245,7 @@ namespace llarp
}
if (strbuf.sz != sz)
{
llarp::LogError("bdecode buffer size missmatch ", strbuf.sz, "!=", sz);
llarp::LogError("bdecode buffer size mismatch ", strbuf.sz, "!=", sz);
return false;
}
memcpy(data(), strbuf.base, sz);