Commit 57834d08 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a commit to reflect that http_copyh() is only to be used for

the fixed location HTTP fields.

Prodded by: email from anordby, in re r4603



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5645 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 93813517
......@@ -661,7 +661,7 @@ static void
http_copyh(const struct http *to, const struct http *fm, unsigned n)
{
assert(n < to->shd);
assert(n < HTTP_HDR_FIRST);
Tcheck(fm->hd[n]);
to->hd[n] = fm->hd[n];
to->hdf[n] = fm->hdf[n];
......
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