Sun, 01 May 2022 11:03:29 +0200
fix test request memory initialization
src/server/test/testutils.c | file | annotate | diff | comparison | revisions |
--- a/src/server/test/testutils.c Sun May 01 10:56:36 2022 +0200 +++ b/src/server/test/testutils.c Sun May 01 11:03:29 2022 +0200 @@ -48,6 +48,7 @@ Request* testutil_request(pool_handle_t *pool, const char *method, const char *uri) { NSAPIRequest *rq = pool_malloc(pool, sizeof(NSAPIRequest)); + ZERO(rq, sizeof(NSAPIRequest)); HTTPRequest httprequest; ZERO(&httprequest, sizeof(HTTPRequest));