Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Rename VRT_error() to VRT_synth() for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsch committed Jun 24, 2015
1 parent 5be40a6 commit 48af2f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/varnishd/cache/cache_vrt.c
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion include/vrt.h
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lib/libvcc/vcc_action.c
Expand Up @@ -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);
Expand Down

0 comments on commit 48af2f5

Please sign in to comment.