[master] e5f5057 Skip 0 values for debugging purposes

Federico G. Schwindt fgsch at lodoss.net
Mon Jul 4 13:33:07 CEST 2016


commit e5f5057fd2605f3aad10d8bab41dd173aff11171
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Mon Jul 4 12:20:56 2016 +0100

    Skip 0 values for debugging purposes
    
    Related to #2000.

diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index 8ee6f5a..b0c70de 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -135,12 +135,14 @@ typedef struct {
 /*--------------------------------------------------------------------*/
 
 enum req_step {
+	R_STP_NONE = 0,
 #define REQ_STEP(l, u, arg)	R_STP_##u,
 #include "tbl/steps.h"
 #undef REQ_STEP
 };
 
 enum fetch_step {
+	F_STP_NONE = 0,
 #define FETCH_STEP(l, U, arg)	F_STP_##U,
 #include "tbl/steps.h"
 #undef FETCH_STEP



More information about the varnish-commit mailing list