diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-03-26 18:39:06 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-03-26 18:39:06 +0000 |
commit | ef4eff9a9bcce416c25c089c4f86fd0b78d79028 (patch) | |
tree | e3b98ea87c1f245716b009b4b7173c660297f04e /main/http.c | |
parent | caf7b47b69d29e669aca53634bbcfbf74d23de1d (diff) |
Add the "config reload <conffile>" command, which allows you to tell Asterisk
to reload any file that references a given configuration file.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/http.c')
-rw-r--r-- | main/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/http.c b/main/http.c index 7b11e9c52..9e8735b2c 100644 --- a/main/http.c +++ b/main/http.c @@ -1087,7 +1087,7 @@ static int __ast_http_load(int reload) struct http_uri_redirect *redirect; struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 }; - if ((cfg = ast_config_load("http.conf", config_flags)) == CONFIG_STATUS_FILEUNCHANGED) { + if ((cfg = ast_config_load2("http.conf", "http", config_flags)) == CONFIG_STATUS_FILEUNCHANGED) { return 0; } |