--- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.c b/http.c index f1e15a4..27d20f7 100644 --- a/http.c +++ b/http.c _AT_@ -182,7 +182,7 @@ http_parse_header(const char *h, struct request *req) char *m, *n; /* empty all fields */ - memset(req, 0, sizeof(*req)); + memset(&(req->fields), 0, sizeof(req->fields)); /* * parse request line -- 2.29.0Received on Sat Oct 24 2020 - 18:19:13 CEST
This archive was generated by hypermail 2.3.0 : Sat Oct 24 2020 - 18:24:31 CEST