Fix index type.
This commit is contained in:
parent
dd77e4628f
commit
7097b2bf5b
|
@ -235,7 +235,7 @@ void NetQueryDispatcher::update_session_count() {
|
|||
}
|
||||
}
|
||||
void NetQueryDispatcher::destroy_auth_keys(Promise<> promise) {
|
||||
for (size_t i = 1; i < DcId::MAX_RAW_DC_ID && i <= 5; i++) {
|
||||
for (int32 i = 1; i < DcId::MAX_RAW_DC_ID && i <= 5; i++) {
|
||||
auto dc_id = DcId::internal(i);
|
||||
if (!is_dc_inited(i) && !AuthDataShared::get_auth_key_for_dc(dc_id).empty()) {
|
||||
wait_dc_init(dc_id, true).ignore();
|
||||
|
|
Loading…
Reference in New Issue
Block a user