commit 2e3418c7340a486b6881eea6f2c091cd70471dc4 parent 8b0105d0d9def8bf21b9ca4ecd763a068d207d8f Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Wed, 24 Nov 2021 22:25:32 +0300 test_client_put_stop: fixed asserts Diffstat:
| M | 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 @@ -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)