gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: test_client_put_stop: fixed asser


From: gnunet
Subject: [libmicrohttpd] branch master updated: test_client_put_stop: fixed asserts
Date: Wed, 24 Nov 2021 20:25:37 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 2e3418c7 test_client_put_stop: fixed asserts
2e3418c7 is described below

commit 2e3418c7340a486b6881eea6f2c091cd70471dc4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Nov 24 22:25:32 2021 +0300

    test_client_put_stop: fixed asserts
---
 src/microhttpd/test_client_put_stop.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/test_client_put_stop.c 
b/src/microhttpd/test_client_put_stop.c
index ec260c87..129e9ba2 100644
--- a/src/microhttpd/test_client_put_stop.c
+++ b/src/microhttpd/test_client_put_stop.c
@@ -309,8 +309,8 @@ _MHD_dumbClient_create (unsigned int port, const char 
*method, const char *url,
   size_t buf_alloc_size;
   char *send_buf;
   mhd_assert (0 != port);
-  mhd_assert (NULL != req_body || 0 == req_body);
-  mhd_assert (0 == req_body || NULL != req_body);
+  mhd_assert (NULL != req_body || 0 == req_body_size);
+  mhd_assert (0 == req_body_size || NULL != req_body);
 
   clnt = (struct _MHD_dumbClient *) malloc (sizeof(struct _MHD_dumbClient));
   if (NULL == clnt)

-- 
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]