[svn-commits] twilson: branch 1.4 r122617 - /branches/1.4/apps/app_dial.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jun 13 12:45:55 CDT 2008


Author: twilson
Date: Fri Jun 13 12:45:55 2008
New Revision: 122617

URL: http://svn.digium.com/view/asterisk?view=rev&rev=122617
Log:
Remove extra option from previous solution attempt

Modified:
    branches/1.4/apps/app_dial.c

Modified: branches/1.4/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_dial.c?view=diff&rev=122617&r1=122616&r2=122617
==============================================================================
--- branches/1.4/apps/app_dial.c (original)
+++ branches/1.4/apps/app_dial.c Fri Jun 13 12:45:55 2008
@@ -789,7 +789,7 @@
 	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 @@
 
 	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 @@
 
 		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);




More information about the svn-commits mailing list