Oops, broke trunk
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 17 Dec 2008 21:28:51 +0000 (21:28 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 17 Dec 2008 21:28:51 +0000 (21:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165325 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_macro.c

index 73d62d9..c90432a 100644 (file)
@@ -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(&macro_ds_info, NULL))) {
+               if (!(macro_store = ast_datastore_alloc(&macro_ds_info, NULL))) {
                        ast_log(LOG_WARNING, "Unable to allocate new datastore.\n");
                        break;
                }