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

Align new segments properly.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4577 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 3e6375d0
......@@ -1157,6 +1157,8 @@ smp_close_seg(struct smp_sc *sc, struct smp_seg *sg)
assert(C_ALIGN(sc->objreserv) + 2 * SEG_SPACE <= smp_spaceleft(sg));
/* Write the OBJIDX */
sg->next_addr |= 7;
sg->next_addr++;
smp_def_sign(sc, sg->ctx, sg->next_addr, "OBJIDX");
smp_reset_sign(sg->ctx);
smp_sync_sign(sg->ctx);
......
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