dect
/
asterisk
Archived
13
0
Fork 0

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: http://svn.digium.com/svn/asterisk/trunk@137456 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tilghman 2008-08-13 17:36:15 +00:00
parent e945aff9ca
commit 5b29c8aed1
1 changed files with 2 additions and 2 deletions

View File

@ -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;