[6.0] d5da1c08a Whitespace OCD

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Oct 31 13:08:08 UTC 2018


commit d5da1c08ad91b04c40400cd49ef37433d37afe23
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Aug 28 12:04:07 2018 +0200

    Whitespace OCD

diff --git a/bin/varnishd/cache/cache_vrt_priv.c b/bin/varnishd/cache/cache_vrt_priv.c
index 09c18c54f..b29f12047 100644
--- a/bin/varnishd/cache/cache_vrt_priv.c
+++ b/bin/varnishd/cache/cache_vrt_priv.c
@@ -139,6 +139,7 @@ VRT_priv_task(VRT_CTX, const void *vmod_id)
 {
 	uintptr_t id;
 	struct vrt_privs *vps;
+	struct vmod_priv *vp;
 
 	CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
 	assert(ctx->req == NULL || ctx->bo == NULL);
@@ -155,8 +156,9 @@ VRT_priv_task(VRT_CTX, const void *vmod_id)
 		id = (uintptr_t)cli_task_privs;
 		CAST_OBJ_NOTNULL(vps, cli_task_privs, VRT_PRIVS_MAGIC);
 	}
-	return (vrt_priv_dynamic(ctx->vcl, ctx->ws,
-				 vps, id, (uintptr_t)vmod_id));
+
+	vp = vrt_priv_dynamic(ctx->vcl, ctx->ws, vps, id, (uintptr_t)vmod_id);
+	return (vp);
 }
 
 struct vmod_priv *


More information about the varnish-commit mailing list