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
d86f1850
Commit
d86f1850
authored
Apr 10, 2019
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify the comment
This is the intent that was not obvious to me when I first reviewed this change.
parent
429835da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cache_hash.c
bin/varnishd/cache/cache_hash.c
+2
-2
No files found.
bin/varnishd/cache/cache_hash.c
View file @
d86f1850
...
@@ -778,8 +778,8 @@ HSH_Cancel(struct worker *wrk, struct objcore *oc, struct boc *boc)
...
@@ -778,8 +778,8 @@ HSH_Cancel(struct worker *wrk, struct objcore *oc, struct boc *boc)
return
;
return
;
/*
/*
*
the caller-provided boc is optional, if they do not have one, we grab
*
NB: we use two distinct variables to only release the reference if
*
a ref
*
we had to acquire one. The caller-provided boc is optional.
*/
*/
if
(
boc
==
NULL
)
if
(
boc
==
NULL
)
bocref
=
boc
=
HSH_RefBoc
(
oc
);
bocref
=
boc
=
HSH_RefBoc
(
oc
);
...
...
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