Commit dac871dc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Always initialize req->req_body_status

This worked only because REQ_BODY_INIT = 0

I hate C enums.
parent f4fdc023
......@@ -94,6 +94,7 @@ Req_New(const struct worker *wrk, struct sess *sp)
AN(req);
req->magic = REQ_MAGIC;
req->sp = sp;
req->req_body_status = REQ_BODY_INIT;
e = (char*)req + sz;
p = (char*)(req + 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment