Add FEATURE_EXTENDED_STATISTICS to gather filter statistics
[privoxy.git] / loaders.c
index fdf17bb..3bfcdd2 100644 (file)
--- a/loaders.c
+++ b/loaders.c
@@ -1226,7 +1226,9 @@ int load_one_re_filterfile(struct client_state *csp, int fileid)
          bl = new_bl;
 
          log_error(LOG_LEVEL_RE_FILTER, "Reading in filter \"%s\" (\"%s\")", bl->name, bl->description);
-
+#ifdef FEATURE_EXTENDED_STATISTICS
+         register_filter_for_statistics(bl->name);
+#endif
          freez(buf);
          continue;
       }