From: phk Date: Tue, 12 Aug 2008 10:29:22 +0000 (+0000) Subject: nits X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76f3405edcf9ba39246b60a8ad198b8c8757ab8c;p=varnish nits git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3082 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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");