113 |
113 |
114 if(f->last_modified != s.st_mtim.tv_sec) { |
114 if(f->last_modified != s.st_mtim.tv_sec) { |
115 /* reload the file */ |
115 /* reload the file */ |
116 //printf("reload: %s\n", sstrdup(f->file).ptr); |
116 //printf("reload: %s\n", sstrdup(f->file).ptr); |
117 log_ereport( |
117 log_ereport( |
118 LOG_LEVEL_INFO, |
118 LOG_INFORM, |
119 "reload configuration file: %s", |
119 "reload configuration file: %s", |
120 f->file.ptr); |
120 f->file.ptr); |
121 f->reload(f, current_config); |
121 f->reload(f, current_config); |
122 cfgreload = 1; |
122 cfgreload = 1; |
123 } |
123 } |