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
7a8dc379
Commit
7a8dc379
authored
May 23, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polish
parent
f066db70
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
cache_shmlog.c
bin/varnishd/cache/cache_shmlog.c
+2
-1
common.h
bin/varnishd/common/common.h
+1
-1
No files found.
bin/varnishd/cache/cache_shmlog.c
View file @
7a8dc379
...
...
@@ -513,6 +513,7 @@ VSC_Alloc(const char *nm, size_t sd,
assert
(
Z_STREAM_END
==
inflate
(
&
vz
,
Z_FINISH
));
assert
(
Z_OK
==
inflateEnd
(
&
vz
));
ALLOC_OBJ
(
vsg
,
VSC_SEGS_MAGIC
);
AN
(
vsg
);
vsg
->
seg
=
p
;
vsg
->
ptr
=
p
+
8
;
VTAILQ_INSERT_TAIL
(
&
vsc_seglist
,
vsg
,
list
);
...
...
@@ -520,7 +521,7 @@ VSC_Alloc(const char *nm, size_t sd,
}
void
VSC_Destroy
(
const
char
*
nm
,
void
*
p
)
VSC_Destroy
(
const
char
*
nm
,
const
void
*
p
)
{
struct
vsc_segs
*
vsg
;
...
...
bin/varnishd/common/common.h
View file @
7a8dc379
...
...
@@ -93,7 +93,7 @@ void VSM_common_ageupdate(const struct vsm_sc *sc);
void
*
VSC_Alloc
(
const
char
*
,
size_t
,
size_t
,
const
unsigned
char
*
,
size_t
,
const
char
*
,
va_list
);
void
VSC_Destroy
(
const
char
*
,
void
*
);
void
VSC_Destroy
(
const
char
*
,
const
void
*
);
/* mgt_cli.c */
extern
struct
VCLS
*
mgt_cls
;
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