[asterisk-commits] russell: trunk r77800 - /trunk/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 30 15:36:18 CDT 2007


Author: russell
Date: Mon Jul 30 15:36:18 2007
New Revision: 77800

URL: http://svn.digium.com/view/asterisk?view=rev&rev=77800
Log:
Change another unnecessary use of the increment operator to explicitly set the var to 1

Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=77800&r1=77799&r2=77800
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Mon Jul 30 15:36:18 2007
@@ -8839,7 +8839,7 @@
 				continue;
 			}
 
-			f->sentyet++;
+			f->sentyet = 1;
 
 			if (iaxs[f->callno]) {
 				send_packet(f);




More information about the asterisk-commits mailing list