Commit 0d03ebb6 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove an old wart of dubious origin. I belive that this originally

was related to the entry parameters of cnt_error(), but I belive it
has long been OBE, and now gets in the way of streaming.
parent e5a0c62c
......@@ -578,12 +578,6 @@ FetchBody(struct worker *wrk, struct object *obj)
if (cls < 0) {
wrk->stats.fetch_failed++;
/* XXX: Wouldn't this store automatically be released ? */
while (!VTAILQ_EMPTY(&obj->store)) {
st = VTAILQ_FIRST(&obj->store);
VTAILQ_REMOVE(&obj->store, st, list);
STV_free(st);
}
VDI_CloseFd(wrk, &bo->vbc);
obj->len = 0;
return (__LINE__);
......
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