Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dcs_classifier
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
dcs_classifier
Commits
4a2899d6
Unverified
Commit
4a2899d6
authored
Dec 10, 2020
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change WS_Reserve call for new VRT versions
parent
67f97a3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dcs_varnish.c
src/dcs_varnish.c
+4
-0
No files found.
src/dcs_varnish.c
View file @
4a2899d6
...
@@ -135,7 +135,11 @@ dcs_varnish_classify(dcs_ctx *ctx) {
...
@@ -135,7 +135,11 @@ dcs_varnish_classify(dcs_ctx *ctx) {
char
*
malloced
=
NULL
;
char
*
malloced
=
NULL
;
char
*
uabuf
;
char
*
uabuf
;
#if VRT_MAJOR_VERSION >= 10
space
=
WS_ReserveAll
(
ctx
->
ws
);
#else
space
=
WS_Reserve
(
ctx
->
ws
,
0
);
space
=
WS_Reserve
(
ctx
->
ws
,
0
);
#endif
if
(
space
>=
WS_SIZE
)
{
if
(
space
>=
WS_SIZE
)
{
mem
=
ctx
->
ws
->
f
;
mem
=
ctx
->
ws
->
f
;
...
...
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