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
9ec96da7
Commit
9ec96da7
authored
Oct 21, 2014
by
Dag Haavi Finstad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the proper symbol name when evaluating vcl 'new' invocations.
parent
ca0b9cfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vcc_action.c
lib/libvcc/vcc_action.c
+1
-1
No files found.
lib/libvcc/vcc_action.c
View file @
9ec96da7
...
...
@@ -219,7 +219,7 @@ parse_new(struct vcc *tl)
vcc_NextToken
(
tl
);
bprintf
(
buf1
,
", &vo_%s,
\"
%s
\"
"
,
sy1
->
name
,
sy1
->
name
);
vcc_Eval_Func
(
tl
,
s_init
,
buf1
,
"ASDF"
,
s_init
+
strlen
(
s_init
)
+
1
);
vcc_Eval_Func
(
tl
,
s_init
,
buf1
,
sy2
->
name
,
s_init
+
strlen
(
s_init
)
+
1
);
ifp
=
New_IniFin
(
tl
);
VSB_printf
(
ifp
->
fin
,
"
\t
%s(&vo_%s);"
,
s_fini
,
sy1
->
name
);
ExpectErr
(
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