From 75a1898af3287a5e531a62c2723df27be3c64a3a Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 6 Sep 2006 11:21:40 +0000 Subject: [PATCH] Fix buglet in -i/-x name matching git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@922 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/lib/libvarnishapi/shmlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/lib/libvarnishapi/shmlog.c b/varnish-cache/lib/libvarnishapi/shmlog.c index d87656e3..ad0d8b43 100644 --- a/varnish-cache/lib/libvarnishapi/shmlog.c +++ b/varnish-cache/lib/libvarnishapi/shmlog.c @@ -393,7 +393,7 @@ vsl_ix_arg(struct VSL_data *vd, const char *opt, int arg) for (j = 0; j < l; j++) if (tolower(*q++) != tolower(*p++)) break; - if (j != l) + if (j != l || *p != '\0') continue; if (arg == 'x') -- 2.39.5