summaryrefslogtreecommitdiff
path: root/main/features.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/features.c')
-rw-r--r--main/features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/features.c b/main/features.c
index 0e9c8153c..9128a58cd 100644
--- a/main/features.c
+++ b/main/features.c
@@ -2833,7 +2833,7 @@ static struct ast_channel *feature_request_and_dial(struct ast_channel *caller,
if (chan && (chan == active_channel)){
if (!ast_strlen_zero(chan->call_forward)) {
- if (!(chan = ast_call_forward(caller, chan, &to, format, NULL, outstate))) {
+ if (!(chan = ast_call_forward(caller, chan, NULL, format, NULL, outstate))) {
return NULL;
}
continue;