Add debug.

GitOrigin-RevId: 777b78434c43fc443c980c1b8859184ffe0bce17
This commit is contained in:
levlam 2018-10-25 15:49:30 +03:00
parent 8e11f8ff1b
commit 2ca74ffacf
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ Status RawConnection::flush_read(const AuthKey &auth_key, Callback &callback) {
new_packet.as_slice().copy_from(packet.as_slice());
packet = std::move(new_packet);
}
CHECK(is_aligned_pointer<4>(packet.as_slice().ubegin()));
CHECK(is_aligned_pointer<4>(packet.as_slice().ubegin()))
<< packet.as_slice().ubegin() << ' ' << packet.size() << ' ' << wait_size;
if (wait_size != 0) {
break;
}