diff options
Diffstat (limited to 'apps/app_macro.c')
-rw-r--r-- | apps/app_macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_macro.c b/apps/app_macro.c index 73d62d9d7..c90432a62 100644 --- a/apps/app_macro.c +++ b/apps/app_macro.c @@ -251,7 +251,7 @@ static int _macro_exec(struct ast_channel *chan, void *data, int exclusive) if (macro_store) { break; } - if (!(macro_store = ast_channel_datastore_alloc(¯o_ds_info, NULL))) { + if (!(macro_store = ast_datastore_alloc(¯o_ds_info, NULL))) { ast_log(LOG_WARNING, "Unable to allocate new datastore.\n"); break; } |