Commit 1487bac2 authored by Geoff Simmons's avatar Geoff Simmons

bugfix

parent e54dcfd5
Pipeline #73 skipped
...@@ -269,7 +269,7 @@ get_task(const struct vrt_ctx * const restrict ctx, ...@@ -269,7 +269,7 @@ get_task(const struct vrt_ctx * const restrict ctx,
AN(priv); AN(priv);
if (priv->priv != NULL) { if (priv->priv != NULL) {
CAST_OBJ(task, priv->priv, VMOD_BLOBDIGEST_DIGEST_TASK_MAGIC); CAST_OBJ(task, priv->priv, VMOD_BLOBDIGEST_DIGEST_TASK_MAGIC);
WS_Contains(ctx->ws, task, sizeof(hash_ctx)); WS_Contains(ctx->ws, task, sizeof(struct digest_task));
} }
else { else {
if ((task = WS_Alloc(ctx->ws, sizeof(struct digest_task))) if ((task = WS_Alloc(ctx->ws, sizeof(struct digest_task)))
......
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