Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
94c4b10d
Commit
94c4b10d
authored
Mar 06, 2023
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flexelinting: Use 'rr' instead of 'random' which overloads random(3)
parent
d0efd253
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vmod_directors_random.c
vmod/vmod_directors_random.c
+3
-3
No files found.
vmod/vmod_directors_random.c
View file @
94c4b10d
...
@@ -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
*
r
andom
;
struct
vmod_directors_random
*
r
r
;
CHECK_OBJ_NOTNULL
(
dir
,
DIRECTOR_MAGIC
);
CHECK_OBJ_NOTNULL
(
dir
,
DIRECTOR_MAGIC
);
CAST_OBJ_NOTNULL
(
r
andom
,
dir
->
priv
,
VMOD_DIRECTORS_RANDOM_MAGIC
);
CAST_OBJ_NOTNULL
(
r
r
,
dir
->
priv
,
VMOD_DIRECTORS_RANDOM_MAGIC
);
vdir_release
(
r
andom
->
vd
);
vdir_release
(
r
r
->
vd
);
}
}
static
void
v_matchproto_
(
vdi_destroy_f
)
static
void
v_matchproto_
(
vdi_destroy_f
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment