]> err.no Git - varnish/commitdiff
Add a missing return: we always return after detecting the first error.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 5 Aug 2007 20:57:20 +0000 (20:57 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 5 Aug 2007 20:57:20 +0000 (20:57 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1800 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcc_action.c

index 9b007e0a32ad85b65ef520fd78cfdcf7955f8da8..1cf063eb8efeaf1fa937a731f84a7b140b68bca4 100644 (file)
@@ -279,6 +279,7 @@ parse_purge(struct tokenlist *tl)
        
        if (!vcc_StringVal(tl)) {
                vcc_ExpectedStringval(tl);
+               return;
        }
        
        Expect(tl, ')');