Commit 94c4b10d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Flexelinting: Use 'rr' instead of 'random' which overloads random(3)

parent d0efd253
...@@ -89,11 +89,11 @@ vmod_random_resolve(VRT_CTX, VCL_BACKEND dir) ...@@ -89,11 +89,11 @@ vmod_random_resolve(VRT_CTX, VCL_BACKEND dir)
static void v_matchproto_(vdi_release_f) static void v_matchproto_(vdi_release_f)
vmod_random_release(VCL_BACKEND dir) vmod_random_release(VCL_BACKEND dir)
{ {
struct vmod_directors_random *random; struct vmod_directors_random *rr;
CHECK_OBJ_NOTNULL(dir, DIRECTOR_MAGIC); CHECK_OBJ_NOTNULL(dir, DIRECTOR_MAGIC);
CAST_OBJ_NOTNULL(random, dir->priv, VMOD_DIRECTORS_RANDOM_MAGIC); CAST_OBJ_NOTNULL(rr, dir->priv, VMOD_DIRECTORS_RANDOM_MAGIC);
vdir_release(random->vd); vdir_release(rr->vd);
} }
static void v_matchproto_(vdi_destroy_f) static void v_matchproto_(vdi_destroy_f)
......
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