Add assert

This commit is contained in:
Alexey Milovidov 2024-07-27 21:06:08 +02:00
parent 0967bfadd1
commit 3dfa32498c

View File

@ -94,6 +94,8 @@ void TimerDescriptor::drain() const
throw ErrnoException(ErrorCodes::CANNOT_READ_FROM_SOCKET, "Cannot drain timer_fd"); throw ErrnoException(ErrorCodes::CANNOT_READ_FROM_SOCKET, "Cannot drain timer_fd");
} }
chassert(res == sizeof(buf));
} }
} }