aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_features.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-30 16:11:57 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-30 16:11:57 +0000
commit0ad19810904ea1b011a403843200334527f45de8 (patch)
treecb92da6e479a00aa5c0f911f7b495452f7febb26 /channels/chan_features.c
parent00a14ff14b25639c011fb88dfdda9d482776699c (diff)
This concludes my tweaking of things.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66604 f38db490-d61c-443f-a65b-d21fe96a405b
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);