flexelint 6f4d0ec1

parent 98e43c04
......@@ -805,6 +805,7 @@ http_tx_parse_args(char * const *av, struct vtclog *vl, struct http *hp,
for (; *av != NULL; av++) {
if (!strcmp(*av, "-body")) {
assert(body == nullbody);
AN(av[1]);
REPLACE(body, av[1]);
av++;
......
......@@ -1547,6 +1547,7 @@ cmd_tx11obj(CMD_ARGS)
else if (CMD_IS("txreq") || CMD_IS("txresp")) {
if (AV_IS("-body")) {
AZ(body);
AN(av[1]);
REPLACE(body, av[1]);
bodylen = strlen(body);
f.flags &= ~END_STREAM;
......
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