Commit 288d5706 authored by Nils Goroll's avatar Nils Goroll
parent 160edb70
......@@ -12,7 +12,7 @@
#include "vcc_blobsynth_if.h"
VCL_VOID
vmod_synthetic(VRT_CTX, VCL_BLOB blob)
vmod_synthetic(VRT_CTX, VCL_BLOB body)
{
struct vsb *vsb;
......@@ -25,10 +25,10 @@ vmod_synthetic(VRT_CTX, VCL_BLOB blob)
CAST_OBJ_NOTNULL(vsb, ctx->specific, VSB_MAGIC);
if (blob == NULL || blob->len == 0)
if (body == NULL || body->len == 0)
return;
AN(blob->priv);
if (VSB_bcat(vsb, blob->priv, blob->len))
AN(body->blob);
if (VSB_bcat(vsb, body->blob, body->len))
VRT_fail(ctx, "blobsynth.synthetic(): %s",
strerror(VSB_error(vsb)));
}
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