summaryrefslogtreecommitdiff
path: root/channels/chan_features.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-05-30 16:11:57 +0000
committerJoshua Colp <jcolp@digium.com>2007-05-30 16:11:57 +0000
commitc103a8d298a331e7f68169544e68f828c085305f (patch)
treecb92da6e479a00aa5c0f911f7b495452f7febb26 /channels/chan_features.c
parent9db7124ee0de0785ba1101785ee41417bcacef0f (diff)
This concludes my tweaking of things.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_features.c')
-rw-r--r--channels/chan_features.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_features.c b/channels/chan_features.c
index 09792700c..813e701b5 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);
- asprintf(&b2, "Feature/%s/%s-%d", p->tech, p->dest, x);
+ asprintf(&b2, "%s/%s-%d", p->tech, p->dest, x);
for (y=0;y<3;y++) {
if (y == index)
continue;
@@ -472,7 +472,7 @@ static struct ast_channel *features_new(struct feature_pvt *p, int state, int in
if (y >= 3)
break;
}
- tmp = ast_channel_alloc(0, state, 0,0, "", "", "", 0, b2);
+ tmp = ast_channel_alloc(0, state, 0,0, "", "", "", 0, "Feature/%s", b2);
/* free up the name, it was copied into the channel name */
if (b2)
free(b2);