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
ec31ef49
Commit
ec31ef49
authored
Apr 28, 2015
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
leave a sticky note
parent
a27af9f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vcc_parse.c
lib/libvcc/vcc_parse.c
+3
-0
No files found.
lib/libvcc/vcc_parse.c
View file @
ec31ef49
...
@@ -284,6 +284,8 @@ vcc_ParseDirector(struct vcc *tl)
...
@@ -284,6 +284,8 @@ vcc_ParseDirector(struct vcc *tl)
}
}
/*--------------------------------------------------------------------
/*--------------------------------------------------------------------
* TODO when bumping the vcl version:
* #1603 remove return(fetch) from vcl_hit{}
*/
*/
static
void
static
void
...
@@ -298,6 +300,7 @@ vcc_ParseVcl(struct vcc *tl)
...
@@ -298,6 +300,7 @@ vcc_ParseVcl(struct vcc *tl)
ver
=
vcc_DoubleVal
(
tl
);
ver
=
vcc_DoubleVal
(
tl
);
ERRCHK
(
tl
);
ERRCHK
(
tl
);
if
(
ver
!=
4
.
0
)
{
if
(
ver
!=
4
.
0
)
{
// see TODO above
VSB_printf
(
tl
->
sb
,
"VCL version %.1f not supported.
\n
"
,
ver
);
VSB_printf
(
tl
->
sb
,
"VCL version %.1f not supported.
\n
"
,
ver
);
vcc_ErrWhere
(
tl
,
tok
);
vcc_ErrWhere
(
tl
,
tok
);
ERRCHK
(
tl
);
ERRCHK
(
tl
);
...
...
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