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
d5da1c08
Commit
d5da1c08
authored
Aug 28, 2018
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace OCD
parent
8e737d42
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cache_vrt_priv.c
bin/varnishd/cache/cache_vrt_priv.c
+4
-2
No files found.
bin/varnishd/cache/cache_vrt_priv.c
View file @
d5da1c08
...
@@ -139,6 +139,7 @@ VRT_priv_task(VRT_CTX, const void *vmod_id)
...
@@ -139,6 +139,7 @@ VRT_priv_task(VRT_CTX, const void *vmod_id)
{
{
uintptr_t
id
;
uintptr_t
id
;
struct
vrt_privs
*
vps
;
struct
vrt_privs
*
vps
;
struct
vmod_priv
*
vp
;
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
assert
(
ctx
->
req
==
NULL
||
ctx
->
bo
==
NULL
);
assert
(
ctx
->
req
==
NULL
||
ctx
->
bo
==
NULL
);
...
@@ -155,8 +156,9 @@ VRT_priv_task(VRT_CTX, const void *vmod_id)
...
@@ -155,8 +156,9 @@ VRT_priv_task(VRT_CTX, const void *vmod_id)
id
=
(
uintptr_t
)
cli_task_privs
;
id
=
(
uintptr_t
)
cli_task_privs
;
CAST_OBJ_NOTNULL
(
vps
,
cli_task_privs
,
VRT_PRIVS_MAGIC
);
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
*
struct
vmod_priv
*
...
...
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