Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-re
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
Nils Goroll
libvmod-re
Commits
21cfecc1
Unverified
Commit
21cfecc1
authored
Oct 26, 2022
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use NO_VXID instead of literal 0 VXID
See varnish-cache 7f28888779fd14f99eb34e50f6fb07ea6bbff999
parent
0b57a0a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
vmod_re.c
src/vmod_re.c
+6
-1
No files found.
src/vmod_re.c
View file @
21cfecc1
...
@@ -59,6 +59,11 @@ typedef struct ov_s {
...
@@ -59,6 +59,11 @@ typedef struct ov_s {
int
ovector
[
MAX_OV
];
int
ovector
[
MAX_OV
];
}
ov_t
;
}
ov_t
;
// varnish-cache pre 7f28888779fd14f99eb34e50f6fb07ea6bbff999
#ifndef NO_VXID
#define NO_VXID (0U)
#endif
static
void
static
void
errmsg
(
VRT_CTX
,
const
char
*
fmt
,
...)
errmsg
(
VRT_CTX
,
const
char
*
fmt
,
...)
{
{
...
@@ -69,7 +74,7 @@ errmsg(VRT_CTX, const char *fmt, ...)
...
@@ -69,7 +74,7 @@ errmsg(VRT_CTX, const char *fmt, ...)
if
(
ctx
->
vsl
)
if
(
ctx
->
vsl
)
VSLbv
(
ctx
->
vsl
,
SLT_VCL_Error
,
fmt
,
args
);
VSLbv
(
ctx
->
vsl
,
SLT_VCL_Error
,
fmt
,
args
);
else
else
VSLv
(
SLT_VCL_Error
,
0
,
fmt
,
args
);
VSLv
(
SLT_VCL_Error
,
NO_VXID
,
fmt
,
args
);
va_end
(
args
);
va_end
(
args
);
}
}
...
...
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