From 2ad586295dcd5dcef3d29af32998d55bb5c09843 Mon Sep 17 00:00:00 2001 From: arf20 Date: Mon, 10 Nov 2025 00:28:43 +0100 Subject: WIP api alert --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.c') diff --git a/config.c b/config.c index 35fa90e..39dc1b9 100644 --- a/config.c +++ b/config.c @@ -73,7 +73,7 @@ config_load(const char *conf_path) cfgsize - (target_pos - monitor_config.target_config), "%s", value); } else if (strcmp(line, "alert") == 0) { - target_pos += snprintf(alert_pos, + alert_pos += snprintf(alert_pos, cfgsize - (alert_pos - alert_config.alert_config), "%s", value); } else { -- cgit v1.2.3