[4.1] bf7faed Revert "Add missing break to switch."

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Fri Sep 9 13:01:04 CEST 2016


commit bf7faedcbc66cac30da45212fc20ac0c2a16aa0b
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Aug 8 15:17:37 2016 +0200

    Revert "Add missing break to switch."
    
    For match_tag == SLT_Timestamp, we'd miss a match otherwise.
    Add the missing /* FALLTHROUGH */
    
    This reverts commit 97bfb00277c53e1197301fcfffd73479e5f72ccf.
    
    Conflicts:
    	bin/varnishhist/varnishhist.c

diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index f887c7a..f5b4f59 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -268,6 +268,7 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],
 				break;
 			case SLT_Timestamp:
 				tsp = VSL_CDATA(tr->c->rec.ptr);
+				/* FALLTHROUGH */
 			default:
 				if (tag != match_tag)
 					break;



More information about the varnish-commit mailing list