diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-10-11 22:10:35 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-10-11 22:10:35 +0300 |
commit | d732c2d43e221d8149a07e87eedb81cf6f7d6737 (patch) | |
tree | 0054f8535dd3dd2f1f77f4ab2467412537362a8d | |
parent | ae49c200af866f3be80a0538e2c428cdcd7e3010 (diff) | |
download | libmicrohttpd-d732c2d43e221d8149a07e87eedb81cf6f7d6737.tar.gz libmicrohttpd-d732c2d43e221d8149a07e87eedb81cf6f7d6737.zip |
connection.c: tuned assert
-rw-r--r-- | src/microhttpd/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index eda98f71..5d7f52fb 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -2958,7 +2958,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection) | |||
2958 | { | 2958 | { |
2959 | const size_t wb_ready = connection->write_buffer_append_offset | 2959 | const size_t wb_ready = connection->write_buffer_append_offset |
2960 | - connection->write_buffer_send_offset; | 2960 | - connection->write_buffer_send_offset; |
2961 | mhd_assert (connection->write_buffer_append_offset > \ | 2961 | mhd_assert (connection->write_buffer_append_offset >= \ |
2962 | connection->write_buffer_send_offset); | 2962 | connection->write_buffer_send_offset); |
2963 | 2963 | ||
2964 | /* if the response body is not available, we use MHD_send_on_connection_() */ | 2964 | /* if the response body is not available, we use MHD_send_on_connection_() */ |