Fix Typos (NFC) (#5137)

This commit is contained in:
sciencewhiz
2023-02-26 15:06:37 -08:00
committed by GitHub
parent ce3686b80d
commit 4af84a1c12
71 changed files with 95 additions and 95 deletions

View File

@@ -1287,7 +1287,7 @@ void ClientData3::EntryAssign(std::string_view name, unsigned int id,
auto topic = m_server.CreateTopic(this, name, typeStr, properties);
TopicData3* topic3 = GetTopic3(topic);
if (topic3->published || topic3->sentAssign) {
WARNING("ignorning client {} duplicate publish of '{}'", m_id, name);
WARNING("ignoring client {} duplicate publish of '{}'", m_id, name);
return;
}
++topic3->seqNum;

View File

@@ -233,7 +233,7 @@ void CImpl::SendPeriodic(uint64_t curTimeMs, bool initial, bool flush) {
auto out = m_wire.Send();
// send keep-alives
// send keep-alive
if (curTimeMs >= m_nextKeepAliveTimeMs) {
if (!CheckNetworkReady(curTimeMs)) {
return;