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