debug 信息完善

This commit is contained in:
Pan Qiancheng 2025-04-07 13:10:20 +08:00
parent 95d4e85d33
commit 3e579cdea0
2 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ int config_file_modified() {
// 加载或重新加载配置
void load_config_if_needed() {
if (config.rules == NULL || config_file_modified()) {
DEBUG_LOG("Config has been modified.");
// 释放旧的规则
if (config.rules) {
free(config.rules);

Binary file not shown.