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
48af2f5a
Commit
48af2f5a
authored
Jun 24, 2015
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename VRT_error() to VRT_synth() for consistency
parent
5be40a69
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
cache_vrt.c
bin/varnishd/cache/cache_vrt.c
+1
-1
vrt.h
include/vrt.h
+1
-1
vcc_action.c
lib/libvcc/vcc_action.c
+1
-1
No files found.
bin/varnishd/cache/cache_vrt.c
View file @
48af2f5a
...
...
@@ -48,7 +48,7 @@ const void * const vrt_magic_string_unset = &vrt_magic_string_unset;
/*--------------------------------------------------------------------*/
void
VRT_
error
(
VRT_CTX
,
unsigned
code
,
const
char
*
reason
)
VRT_
synth
(
VRT_CTX
,
unsigned
code
,
const
char
*
reason
)
{
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
...
...
include/vrt.h
View file @
48af2f5a
...
...
@@ -253,7 +253,7 @@ void VRT_purge(VRT_CTX, double ttl, double grace, double keep);
void
VRT_count
(
VRT_CTX
,
unsigned
);
int
VRT_rewrite
(
const
char
*
,
const
char
*
);
void
VRT_
error
(
VRT_CTX
,
unsigned
,
const
char
*
);
void
VRT_
synth
(
VRT_CTX
,
unsigned
,
const
char
*
);
int
VRT_switch_config
(
const
char
*
);
struct
http
*
VRT_selecthttp
(
VRT_CTX
,
enum
gethdr_e
);
...
...
lib/libvcc/vcc_action.c
View file @
48af2f5a
...
...
@@ -324,7 +324,7 @@ parse_return(struct vcc *tl)
}
ExpectErr
(
tl
,
'('
);
vcc_NextToken
(
tl
);
Fb
(
tl
,
1
,
"VRT_
error
(ctx,
\n
"
);
Fb
(
tl
,
1
,
"VRT_
synth
(ctx,
\n
"
);
tl
->
indent
+=
INDENT
;
vcc_Expr
(
tl
,
INT
);
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