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
3aa35e60
Commit
3aa35e60
authored
Apr 10, 2018
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Duh! && not ||.
Spotted by: fgs
parent
774d8df5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cache_gzip.c
bin/varnishd/cache/cache_gzip.c
+1
-1
No files found.
bin/varnishd/cache/cache_gzip.c
View file @
3aa35e60
...
@@ -317,7 +317,7 @@ vdp_gunzip(struct req *req, enum vdp_action act, void **priv,
...
@@ -317,7 +317,7 @@ vdp_gunzip(struct req *req, enum vdp_action act, void **priv,
req
->
resp_len
=
-
1
;
req
->
resp_len
=
-
1
;
p
=
ObjGetAttr
(
req
->
wrk
,
req
->
objcore
,
OA_GZIPBITS
,
&
dl
);
p
=
ObjGetAttr
(
req
->
wrk
,
req
->
objcore
,
OA_GZIPBITS
,
&
dl
);
if
(
p
!=
NULL
||
dl
==
32
)
{
if
(
p
!=
NULL
&&
dl
==
32
)
{
u
=
vbe64dec
(
p
+
24
);
u
=
vbe64dec
(
p
+
24
);
/*
/*
* If the size is non-zero AND we are the top VDP
* If the size is non-zero AND we are the top VDP
...
...
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