summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-12-15 15:39:29 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-12-15 15:39:29 +0000
commita736605bf405979223996c8f6a2bd8b236b0dfb6 (patch)
treec40546657df15bc50887d4ff5fac71221f9a5c50 /channels
parent286f02bf40137703d03d0fbb442b5601f209c52f (diff)
replace ast_safe_string_alloc() with asprintf()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_features.c b/channels/chan_features.c
index 83e6e4ae5..3c1285c27 100644
--- a/channels/chan_features.c
+++ b/channels/chan_features.c
@@ -462,7 +462,7 @@ static struct ast_channel *features_new(struct feature_pvt *p, int state, int in
for (x=1;x<4;x++) {
if (b2)
free(b2);
- b2 = ast_safe_string_alloc("Feature/%s/%s-%d", p->tech, p->dest, x);
+ asprintf(&b2, "Feature/%s/%s-%d", p->tech, p->dest, x);
for (y=0;y<3;y++) {
if (y == index)
continue;