aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-11-24 22:25:32 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-11-24 22:25:32 +0300
commit2e3418c7340a486b6881eea6f2c091cd70471dc4 (patch)
treeb5ed24b5f5f3f44960dc1545a0ef86e009497f7a
parent8b0105d0d9def8bf21b9ca4ecd763a068d207d8f (diff)
downloadlibmicrohttpd-2e3418c7340a486b6881eea6f2c091cd70471dc4.tar.gz
libmicrohttpd-2e3418c7340a486b6881eea6f2c091cd70471dc4.zip
test_client_put_stop: fixed asserts
-rw-r--r--src/microhttpd/test_client_put_stop.c4
1 files 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,
309 size_t buf_alloc_size; 309 size_t buf_alloc_size;
310 char *send_buf; 310 char *send_buf;
311 mhd_assert (0 != port); 311 mhd_assert (0 != port);
312 mhd_assert (NULL != req_body || 0 == req_body); 312 mhd_assert (NULL != req_body || 0 == req_body_size);
313 mhd_assert (0 == req_body || NULL != req_body); 313 mhd_assert (0 == req_body_size || NULL != req_body);
314 314
315 clnt = (struct _MHD_dumbClient *) malloc (sizeof(struct _MHD_dumbClient)); 315 clnt = (struct _MHD_dumbClient *) malloc (sizeof(struct _MHD_dumbClient));
316 if (NULL == clnt) 316 if (NULL == clnt)