Commit 4b12af66 authored by Nils Goroll's avatar Nils Goroll

rename get_task -> get_scope

parent 0422bfb6
......@@ -236,8 +236,8 @@ WS_Contains(struct ws * const restrict ws, const void * const restrict ptr,
}
static struct digest_task *
get_task(const struct vrt_ctx * const restrict ctx,
const struct vmod_blobdigest_digest * const restrict h)
get_scope(const struct vrt_ctx * const restrict ctx,
const struct vmod_blobdigest_digest * const restrict h)
{
struct vmod_priv *priv;
struct digest_task *task;
......@@ -331,7 +331,7 @@ vmod_digest_update(VRT_CTX, struct vmod_blobdigest_digest *h, VCL_BLOB b)
return 1;
}
task = get_task(ctx, h);
task = get_scope(ctx, h);
if (task == NULL) {
VERRNOMEM(ctx, "allocating task data in %s.update()",
h->vcl_name);
......@@ -375,7 +375,7 @@ vmod_digest_final(VRT_CTX, struct vmod_blobdigest_digest *h)
return b;
}
task = get_task(ctx, h);
task = get_scope(ctx, h);
if (task == NULL) {
VERRNOMEM(ctx, "allocating task data in %s.final()",
h->vcl_name);
......
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