aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
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 {