gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 02/02: connection.c: tuned assert


From: gnunet
Subject: [libmicrohttpd] 02/02: connection.c: tuned assert
Date: Sun, 11 Oct 2020 21:18:09 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit d732c2d43e221d8149a07e87eedb81cf6f7d6737
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Oct 11 22:10:35 2020 +0300

    connection.c: tuned assert
---
 src/microhttpd/connection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
     {
       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_() */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]