@@ -1,17 +1,11 @@
--- check_varnish.c.orig 2010-05-05 22:36:51.015990238 +0200
-+++ check_varnish.c 2010-05-05 22:41:25.366256406 +0200
-@@ -180,13 +180,7 @@
++++ check_varnish.c 2010-05-05 22:47:22.723437949 +0200
+@@ -180,7 +180,7 @@
value = total ? (100 * VSL_stats->sm_balloc / total) : 0;
info = "Cache file usage";
}
-#define MAC_STAT(n, t, f, d) \
-- else if (strcmp(param, #n) == 0) { \
-- value = VSL_stats->n; \
-- info = d; \
-- }
--#include "stat_field.h"
--#undef MAC_STAT
-+#include "stats.h"
- else
- printf("Unknown parameter '%s'\n", param);
-
++#define MAC_STAT(n, t, l, f, e) \
+ else if (strcmp(param, #n) == 0) { \
+ value = VSL_stats->n; \
+ info = d; \
|