diff options
Diffstat (limited to 'apps/app_speech_utils.c')
-rw-r--r-- | apps/app_speech_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c index 568c01bc3..939a92f58 100644 --- a/apps/app_speech_utils.c +++ b/apps/app_speech_utils.c @@ -364,7 +364,7 @@ static int speech_create(struct ast_channel *chan, void *data) return 0; } - datastore = ast_channel_datastore_alloc(&speech_datastore, NULL); + datastore = ast_datastore_alloc(&speech_datastore, NULL); if (datastore == NULL) { ast_speech_destroy(speech); pbx_builtin_setvar_helper(chan, "ERROR", "1"); |