]> err.no Git - varnish/commitdiff
Fix buglet in -i/-x name matching
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 6 Sep 2006 11:21:40 +0000 (11:21 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 6 Sep 2006 11:21:40 +0000 (11:21 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@922 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvarnishapi/shmlog.c

index d87656e3f5b13dd8c608d00a6541bfcc7c801257..ad0d8b43b02e0616ac89deff2dd9cdd011104513 100644 (file)
@@ -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')