From 3305af34d6524a296de5e4c68a1312fb50a88f53 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 3 Sep 2007 18:01:58 +0000 Subject: [PATCH] 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 --- main/config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/config.c b/main/config.c index 5889a0358d..472d6fa0fd 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)) {