r1800 - trunk/varnish-cache/lib/libvcl
    phk at projects.linpro.no 
    phk at projects.linpro.no
       
    Sun Aug  5 22:57:20 CEST 2007
    
    
  
Author: phk
Date: 2007-08-05 22:57:20 +0200 (Sun, 05 Aug 2007)
New Revision: 1800
Modified:
   trunk/varnish-cache/lib/libvcl/vcc_action.c
Log:
Add a missing return: we always return after detecting the first error.
Modified: trunk/varnish-cache/lib/libvcl/vcc_action.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_action.c	2007-08-05 20:47:16 UTC (rev 1799)
+++ trunk/varnish-cache/lib/libvcl/vcc_action.c	2007-08-05 20:57:20 UTC (rev 1800)
@@ -279,6 +279,7 @@
 	
 	if (!vcc_StringVal(tl)) {
 		vcc_ExpectedStringval(tl);
+		return;
 	}
 	
 	Expect(tl, ')');
    
    
More information about the varnish-commit
mailing list