From 76f3405edcf9ba39246b60a8ad198b8c8757ab8c Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 12 Aug 2008 10:29:22 +0000 Subject: [PATCH] nits git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3082 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/lib/libvcl/vcc_backend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/varnish-cache/lib/libvcl/vcc_backend.c b/varnish-cache/lib/libvcl/vcc_backend.c index 9f43afa4..288364dd 100644 --- a/varnish-cache/lib/libvcl/vcc_backend.c +++ b/varnish-cache/lib/libvcl/vcc_backend.c @@ -261,7 +261,6 @@ vcc_FldSpec(struct tokenlist *tl, const char *first, ...) return (r); } - void vcc_IsField(struct tokenlist *tl, struct token **t, struct fld_spec *fs) { @@ -318,6 +317,8 @@ vcc_FieldsOk(struct tokenlist *tl, const struct fld_spec *fs) static void vcc_ProbeRedef(struct tokenlist *tl, struct token **t_did, struct token *t_field) { + /* .url and .request are mutually exclusive */ + if (*t_did != NULL) { vsb_printf(tl->sb, "Probe request redefinition at:\n"); -- 2.39.5