[Asterisk-cvs] asterisk/apps app_dial.c,1.82,1.83

markster at lists.digium.com markster at lists.digium.com
Thu Jul 8 05:34:27 CDT 2004


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

Modified Files:
	app_dial.c 
Log Message:
Make ringing clearer


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- app_dial.c	7 Jul 2004 16:02:13 -0000	1.82
+++ app_dial.c	8 Jul 2004 09:20:14 -0000	1.83
@@ -308,9 +308,9 @@
 						case AST_CONTROL_RINGING:
 							if (option_verbose > 2)
 								ast_verbose( VERBOSE_PREFIX_3 "%s is ringing\n", o->chan->name);
-							if (!*sentringing && !outgoing->musiconhold) {
+							if (!(*sentringing) && !outgoing->musiconhold) {
 								ast_indicate(in, AST_CONTROL_RINGING);
-								*sentringing++;
+								(*sentringing)++;
 							}
 							break;
 						case AST_CONTROL_PROGRESS:
@@ -326,7 +326,7 @@
 								if (option_verbose > 2)
 									ast_verbose( VERBOSE_PREFIX_3 "%s stopped sounds\n", o->chan->name);
 								ast_indicate(in, -1);
-								*sentringing = 0;
+								(*sentringing) = 0;
 							}
 							break;
 						default:




More information about the svn-commits mailing list