summaryrefslogtreecommitdiff
path: root/apps/app_directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_directory.c')
-rw-r--r--apps/app_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c
index 350401e46..267e2e8c3 100644
--- a/apps/app_directory.c
+++ b/apps/app_directory.c
@@ -528,7 +528,7 @@ static struct ast_config *realtime_directory(char *context)
}
/* Does the context exist within the config file? If not, make one */
- if (!(cat = ast_category_get(cfg, ctx))) {
+ if (!(cat = ast_category_get(cfg, ctx, NULL))) {
if (!(cat = ast_category_new(ctx, "", 99999))) {
ast_log(LOG_WARNING, "Out of memory\n");
ast_config_destroy(cfg);