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
6c6f8d1e
Unverified
Commit
6c6f8d1e
authored
Oct 14, 2020
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flexelinting
parent
ac4cf509
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
cache_fetch_proc.c
bin/varnishd/cache/cache_fetch_proc.c
+1
-1
cache_req_body.c
bin/varnishd/cache/cache_req_body.c
+2
-1
vsl_cursor.c
lib/libvarnishapi/vsl_cursor.c
+1
-1
vmod_debug.c
lib/libvmod_debug/vmod_debug.c
+1
-1
No files found.
bin/varnishd/cache/cache_fetch_proc.c
View file @
6c6f8d1e
...
...
@@ -99,7 +99,7 @@ VFP_Extend(const struct vfp_ctx *vc, ssize_t sz, enum vfp_status flg)
{
CHECK_OBJ_NOTNULL
(
vc
,
VFP_CTX_MAGIC
);
ObjExtend
(
vc
->
wrk
,
vc
->
oc
,
sz
,
flg
==
VFP_END
);
ObjExtend
(
vc
->
wrk
,
vc
->
oc
,
sz
,
flg
==
VFP_END
?
1
:
0
);
}
/**********************************************************************
...
...
bin/varnishd/cache/cache_req_body.c
View file @
6c6f8d1e
...
...
@@ -124,7 +124,8 @@ vrb_pull(struct req *req, ssize_t maxsize, objiterate_f *func, void *priv)
if
(
r
)
break
;
}
else
{
ObjExtend
(
req
->
wrk
,
req
->
body_oc
,
l
,
vfps
==
VFP_END
);
ObjExtend
(
req
->
wrk
,
req
->
body_oc
,
l
,
vfps
==
VFP_END
?
1
:
0
);
}
}
...
...
lib/libvarnishapi/vsl_cursor.c
View file @
6c6f8d1e
...
...
@@ -486,7 +486,7 @@ vsl_cursor_mmap(struct VSL_data *vsl, int fd)
if
((
st
->
st_mode
&
S_IFMT
)
!=
S_IFREG
)
return
(
MAP_FAILED
);
assert
(
st
->
st_size
>=
sizeof
VSL_FILE_ID
);
assert
(
st
->
st_size
>=
(
off_t
)(
sizeof
VSL_FILE_ID
)
);
p
=
mmap
(
NULL
,
st
->
st_size
,
PROT_READ
,
MAP_PRIVATE
,
fd
,
0
);
if
(
p
==
MAP_FAILED
)
{
vsl_diag
(
vsl
,
"Cannot mmap: %s"
,
strerror
(
errno
));
...
...
lib/libvmod_debug/vmod_debug.c
View file @
6c6f8d1e
...
...
@@ -174,7 +174,7 @@ static const struct vdp xyzzy_vdp_rot13 = {
* yet that would cross the API
*/
void
*
end_marker
=
&
end_marker
;
static
void
*
end_marker
=
&
end_marker
;
static
int
v_matchproto_
(
vdp_bytes_f
)
xyzzy_pedantic_bytes
(
struct
vdp_ctx
*
vdx
,
enum
vdp_action
act
,
void
**
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