[Asterisk-cvs] asterisk/apps app_dial.c,1.181,1.182

russell russell
Sun Nov 6 16:09:22 CST 2005


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv4878/apps

Modified Files:
	app_dial.c 
Log Message:
Convert some built-in applications to use new args parsing macros.
Change ast_cdr_reset to take a pointer to an ast_flags structure instead of an integer for flags.


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -d -r1.181 -r1.182
--- app_dial.c	6 Nov 2005 15:09:46 -0000	1.181
+++ app_dial.c	6 Nov 2005 21:00:35 -0000	1.182
@@ -828,7 +828,7 @@
 	}
 
 	if (ast_test_flag(&opts, OPT_RESETCDR) && chan->cdr)
-		ast_cdr_reset(chan->cdr, 0);
+		ast_cdr_reset(chan->cdr, NULL);
 	if (ast_test_flag(&opts, OPT_PRIVACY) && ast_strlen_zero(opt_args[OPT_ARG_PRIVACY]))
 		opt_args[OPT_ARG_PRIVACY] = ast_strdupa(chan->exten);
 	if (ast_test_flag(&opts, OPT_PRIVACY) || ast_test_flag(&opts, OPT_SCREENING)) {




More information about the svn-commits mailing list