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

Allways call with VGZ_FINISH for proper gzip termination.

Fixes	#872
parent 516e69e0
......@@ -1043,8 +1043,8 @@ VEP_Finish(const struct sess *sp)
if (vep->o_wait > 0) {
lcb = vep->cb(vep->sp, 0, VGZ_ALIGN);
vep_emit_common(vep, lcb - vep->o_last, vep->last_mark);
(void)vep->cb(vep->sp, 0, VGZ_FINISH);
}
(void)vep->cb(vep->sp, 0, VGZ_FINISH);
sp->wrk->vep = NULL;
......
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