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
7cd19157
Commit
7cd19157
authored
Nov 29, 2019
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give the dedicated type to VMOD object instances
parent
787a505a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vcc_vmod.c
lib/libvcc/vcc_vmod.c
+4
-0
No files found.
lib/libvcc/vcc_vmod.c
View file @
7cd19157
...
...
@@ -497,6 +497,10 @@ vcc_Act_New(struct vcc *tl, struct token *t, struct symbol *sym)
XREF_NONE
);
ERRCHK
(
tl
);
AN
(
osym
);
/* Scratch the generic INSTANCE type */
isym
->
type
=
osym
->
type
;
CAST_OBJ_NOTNULL
(
vv
,
osym
->
eval_priv
,
VJSN_VAL_MAGIC
);
// vv = object name
...
...
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