diff --git a/td/mtproto/RSA.cpp b/td/mtproto/RSA.cpp index 261e4208b..8a0d38b3d 100644 --- a/td/mtproto/RSA.cpp +++ b/td/mtproto/RSA.cpp @@ -128,8 +128,8 @@ size_t RSA::size() const { } bool RSA::encrypt(Slice from, MutableSlice to) const { - CHECK(from.size() == 256) - CHECK(to.size() == 256) + CHECK(from.size() == 256); + CHECK(to.size() == 256); int bits = n_.get_num_bits(); CHECK(bits >= 2041 && bits <= 2048); diff --git a/td/mtproto/TlsInit.cpp b/td/mtproto/TlsInit.cpp index 98fdfbc28..4ae756aad 100644 --- a/td/mtproto/TlsInit.cpp +++ b/td/mtproto/TlsInit.cpp @@ -338,7 +338,7 @@ class TlsHelloStore { break; } case Type::Grease: { - CHECK(context) + CHECK(context); auto grease = context->get_grease(op.seed); dest_[0] = grease; dest_[1] = grease; diff --git a/td/telegram/CountryInfoManager.cpp b/td/telegram/CountryInfoManager.cpp index f57aac998..d1360f88e 100644 --- a/td/telegram/CountryInfoManager.cpp +++ b/td/telegram/CountryInfoManager.cpp @@ -558,7 +558,7 @@ const CountryInfoManager::CountryList *CountryInfoManager::get_country_list(Coun on_get_country_list_impl(language_code, std::move(result)); it = countries_.find(language_code); - CHECK(it != countries_.end()) + CHECK(it != countries_.end()); auto *country = it->second.get(); if (manager != nullptr) { manager->load_country_list(language_code, country->hash, Auto()); diff --git a/td/telegram/DialogInviteLink.cpp b/td/telegram/DialogInviteLink.cpp index c0ae12afa..41a9f1307 100644 --- a/td/telegram/DialogInviteLink.cpp +++ b/td/telegram/DialogInviteLink.cpp @@ -21,7 +21,7 @@ DialogInviteLink::DialogInviteLink(tl_object_ptrget_id() != telegram_api::chatInviteExported::ID) { - CHECK(exported_invite_ptr->get_id() == telegram_api::chatInvitePublicJoinRequests::ID) + CHECK(exported_invite_ptr->get_id() == telegram_api::chatInvitePublicJoinRequests::ID); Slice slice(source); if (slice != "channelAdminLogEventActionParticipantJoinByRequest" && slice != "updateChatParticipant" && slice != "updateChannelParticipant" && slice != "updateBotChatInviteRequester") { diff --git a/td/telegram/Td.cpp b/td/telegram/Td.cpp index b6ab9bfe4..7b42c7be6 100644 --- a/td/telegram/Td.cpp +++ b/td/telegram/Td.cpp @@ -183,7 +183,7 @@ void Td::ResultHandler::set_td(Td *td) { } void Td::ResultHandler::send_query(NetQueryPtr query) { - CHECK(!is_query_sent_) + CHECK(!is_query_sent_); is_query_sent_ = true; td_->add_handler(query->id(), shared_from_this()); query->debug("Send to NetQueryDispatcher");