aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-03 18:01:58 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-03 18:01:58 +0000
commitb79a3ec5cee4814e0018e585d13fdf41b0c1b35b (patch)
tree8f13369c63307bfa9938dad302ea6e052eace476 /main
parentf18daad6e508fd7373fbdf42842ba53c23fe7dee (diff)
Once we get past the file checks, we're loading, so clear the FILEUNCHANGED flag (fixes #include) (closes issue #10629)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81432 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/config.c b/main/config.c
index 5889a0358..472d6fa0f 100644
--- a/main/config.c
+++ b/main/config.c
@@ -1135,6 +1135,8 @@ static struct ast_config *config_text_file_load(const char *database, const char
continue;
}
count++;
+ /* If we get to this point, then we're loading regardless */
+ ast_clear_flag(&flags, CONFIG_FLAG_FILEUNCHANGED);
ast_debug(1, "Parsing %s\n", fn);
ast_verb(2, "Found\n");
while (!feof(f)) {