Move a bit more stuff over to the datadir (issue #6967 reported by tzafrir patch by north)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2006-04-15 23:37:29 +00:00
parent e8a94a71e2
commit 5c05128777
3 changed files with 9 additions and 9 deletions

View File

@@ -1530,7 +1530,7 @@ static void reload_firmware(void)
cur = cur->next;
}
/* Now that we've freed them, load the new ones */
snprintf(dir, sizeof(dir), "%s/firmware/iax", (char *)ast_config_AST_VAR_DIR);
snprintf(dir, sizeof(dir), "%s/firmware/iax", (char *)ast_config_AST_DATA_DIR);
fwd = opendir(dir);
if (fwd) {
while((de = readdir(fwd))) {