connection.c: tuned assert

This commit is contained in:
Evgeny Grin (Karlson2k)
2020-10-11 22:10:35 +03:00
parent ae49c200af
commit d732c2d43e
+1 -1
View File
@@ -2958,7 +2958,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection)
{
const size_t wb_ready = connection->write_buffer_append_offset
- connection->write_buffer_send_offset;
mhd_assert (connection->write_buffer_append_offset > \
mhd_assert (connection->write_buffer_append_offset >= \
connection->write_buffer_send_offset);
/* if the response body is not available, we use MHD_send_on_connection_() */