diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-09-03 18:01:58 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-09-03 18:01:58 +0000 |
commit | 3305af34d6524a296de5e4c68a1312fb50a88f53 (patch) | |
tree | 8f13369c63307bfa9938dad302ea6e052eace476 /main/config.c | |
parent | 314d4e6048cc7d37da2e187afba20c7afb147070 (diff) |
Once we get past the file checks, we're loading, so clear the FILEUNCHANGED flag (fixes #include) (closes issue #10629)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/config.c')
-rw-r--r-- | main/config.c | 2 |
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)) { |