diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-08-13 17:36:15 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-08-13 17:36:15 +0000 |
commit | fdd92290af9e9305592a5db129f188bc41ba01a5 (patch) | |
tree | 8d373fc3ce4196111edaca9d4f12eabb826a90b4 | |
parent | 16ff15a47a0d5bacb474e9d1ab23336fa6a80197 (diff) |
Convert deprecated routines to the new names.
(closes issue #13297)
Reported by: snuffy
Patches:
bug13297_20080814.diff uploaded by snuffy (license 35)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/channel.c b/main/channel.c index 83b6eea52..77a790802 100644 --- a/main/channel.c +++ b/main/channel.c @@ -429,12 +429,12 @@ int ast_channel_trace_enable(struct ast_channel *chan) struct ast_datastore *store = ast_channel_datastore_find(chan, &ast_chan_trace_datastore_info, NULL); struct ast_chan_trace_data *traced; if (!store) { - store = ast_channel_datastore_alloc(&ast_chan_trace_datastore_info, "ChanTrace"); + store = ast_datastore_alloc(&ast_chan_trace_datastore_info, "ChanTrace"); if (!store) return -1; traced = ast_calloc(1, sizeof(*traced)); if (!traced) { - ast_channel_datastore_free(store); + ast_datastore_free(store); return -1; } store->data = traced; |