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
085d3b26
Commit
085d3b26
authored
Jan 18, 2016
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor flexelinting
parent
9957868a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cache_vcl.c
bin/varnishd/cache/cache_vcl.c
+1
-1
vmod_debug.c
lib/libvmod_debug/vmod_debug.c
+3
-3
No files found.
bin/varnishd/cache/cache_vcl.c
View file @
085d3b26
...
@@ -401,7 +401,7 @@ VRT_ref_vcl(VRT_CTX, const char *desc)
...
@@ -401,7 +401,7 @@ VRT_ref_vcl(VRT_CTX, const char *desc)
ALLOC_OBJ
(
ref
,
VCLREF_MAGIC
);
ALLOC_OBJ
(
ref
,
VCLREF_MAGIC
);
AN
(
ref
);
AN
(
ref
);
ref
->
vcl
=
vcl
;
ref
->
vcl
=
vcl
;
snprintf
(
ref
->
desc
,
sizeof
ref
->
desc
,
"%s"
,
desc
);
bprintf
(
ref
->
desc
,
"%s"
,
desc
);
Lck_Lock
(
&
vcl_mtx
);
Lck_Lock
(
&
vcl_mtx
);
VTAILQ_INSERT_TAIL
(
&
vcl
->
ref_list
,
ref
,
list
);
VTAILQ_INSERT_TAIL
(
&
vcl
->
ref_list
,
ref
,
list
);
...
...
lib/libvmod_debug/vmod_debug.c
View file @
085d3b26
...
@@ -277,7 +277,7 @@ event_load(VRT_CTX, struct vmod_priv *priv)
...
@@ -277,7 +277,7 @@ event_load(VRT_CTX, struct vmod_priv *priv)
}
}
static
int
static
int
event_warm
(
VRT_CTX
,
struct
vmod_priv
*
priv
)
event_warm
(
VRT_CTX
,
const
struct
vmod_priv
*
priv
)
{
{
struct
priv_vcl
*
priv_vcl
;
struct
priv_vcl
*
priv_vcl
;
char
buf
[
32
];
char
buf
[
32
];
...
@@ -294,7 +294,7 @@ event_warm(VRT_CTX, struct vmod_priv *priv)
...
@@ -294,7 +294,7 @@ event_warm(VRT_CTX, struct vmod_priv *priv)
AZ
(
priv_vcl
->
vcl
);
AZ
(
priv_vcl
->
vcl
);
AZ
(
priv_vcl
->
vclref
);
AZ
(
priv_vcl
->
vclref
);
snprintf
(
buf
,
sizeof
buf
,
"vmod-debug ref on %s"
,
VCL_Name
(
ctx
->
vcl
));
bprintf
(
buf
,
"vmod-debug ref on %s"
,
VCL_Name
(
ctx
->
vcl
));
priv_vcl
->
vcl
=
ctx
->
vcl
;
priv_vcl
->
vcl
=
ctx
->
vcl
;
priv_vcl
->
vclref
=
VRT_ref_vcl
(
ctx
,
buf
);
priv_vcl
->
vclref
=
VRT_ref_vcl
(
ctx
,
buf
);
return
(
0
);
return
(
0
);
...
@@ -320,7 +320,7 @@ cooldown_thread(void *priv)
...
@@ -320,7 +320,7 @@ cooldown_thread(void *priv)
}
}
static
int
static
int
event_cold
(
VRT_CTX
,
struct
vmod_priv
*
priv
)
event_cold
(
VRT_CTX
,
const
struct
vmod_priv
*
priv
)
{
{
pthread_t
thread
;
pthread_t
thread
;
struct
priv_vcl
*
priv_vcl
;
struct
priv_vcl
*
priv_vcl
;
...
...
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