Once we get past the file checks, we're loading, so clear the FILEUNCHANGED flag...
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 3 Sep 2007 18:01:58 +0000 (18:01 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 3 Sep 2007 18:01:58 +0000 (18:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81432 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/config.c

index 5889a03..472d6fa 100644 (file)
@@ -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)) {