diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-13 17:45:55 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-13 17:45:55 +0000 |
commit | afdaf1bfa0a4a6ee432dc190d501251bf5439d81 (patch) | |
tree | deee2f60932491ec080b105bb71318e17d3a82ce /apps/app_dial.c | |
parent | 8efae88cf38d689acf68e18a81ff45f15841eb21 (diff) |
Remove extra option from previous solution attempt
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@122617 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 533783cbd..b5900b1f2 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -789,7 +789,7 @@ static int valid_priv_reply(struct ast_flags *opts, int res) return 0; } -static void set_dial_features(struct ast_flags *opts, struct ast_dial_features *features, struct ast_channel *chan) +static void set_dial_features(struct ast_flags *opts, struct ast_dial_features *features) { struct ast_flags perm_opts = {.flags = 0}; @@ -1132,7 +1132,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags ast_channel_lock(chan); caller_features->is_caller = 1; - set_dial_features(&opts, caller_features, chan); + set_dial_features(&opts, caller_features); ds_caller_features->inheritance = -1; ds_caller_features->data = caller_features; ast_channel_datastore_add(chan, ds_caller_features); @@ -1313,7 +1313,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags ast_channel_lock(tmp->chan); callee_features->is_caller = 0; - set_dial_features(&opts, callee_features, tmp->chan); + set_dial_features(&opts, callee_features); ds_callee_features->inheritance = -1; ds_callee_features->data = callee_features; ast_channel_datastore_add(tmp->chan, ds_callee_features); |