Commit 8989d79b authored by Nils Goroll's avatar Nils Goroll

use the check intended for this case (nit picking)

parent 8226f83d
......@@ -796,8 +796,7 @@ http_EstimateWS(const struct http *fm, unsigned how)
for (u = 0; u < fm->nhd; u++) {
if (u == HTTP_HDR_METHOD || u == HTTP_HDR_URL)
continue;
AN(fm->hd[u].b);
AN(fm->hd[u].e);
Tcheck(fm->hd[u]);
if (fm->hdf[u] & HDF_FILTER)
continue;
#define HTTPH(a, b, c) \
......@@ -839,8 +838,7 @@ HTTP_Encode(const struct http *fm, uint8_t *p0, unsigned l, unsigned how)
for (u = 0; u < fm->nhd; u++) {
if (u == HTTP_HDR_METHOD || u == HTTP_HDR_URL)
continue;
AN(fm->hd[u].b);
AN(fm->hd[u].e);
Tcheck(fm->hd[u]);
if (fm->hdf[u] & HDF_FILTER)
continue;
#define HTTPH(a, b, c) \
......
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