From 9617a4239955afedd80e423f5d6a52199626d00d Mon Sep 17 00:00:00 2001 From: arf20 Date: Sat, 15 Nov 2025 05:02:42 +0100 Subject: fix config json conflict and variable samples --- config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 4801393..3625bd7 100644 --- a/config.h +++ b/config.h @@ -10,12 +10,14 @@ #define DEFAULT_PORT 8888 #define DEFAULT_INTERVAL 60 +#define DEFAULT_SAMPLES 60 #define DEFAULT_TMPL_PATH "index.htm.tmpl" #define DEFAULT_LOG_PATH "events.log" /* config types */ typedef struct { time_t interval; + int samples; char *target_config; } monitor_config_t; -- cgit v1.2.3