[asterisk-commits] mmichelson: branch 10 r351308 - in /branches/10:	./ res/res_rtp_asterisk.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Tue Jan 17 11:22:43 CST 2012
    
    
  
Author: mmichelson
Date: Tue Jan 17 11:22:40 2012
New Revision: 351308
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=351308
Log:
Eliminate odd initialization of probation variable.
........
Merged revisions 351306 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
    branches/10/   (props changed)
    branches/10/res/res_rtp_asterisk.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/res/res_rtp_asterisk.c?view=diff&rev=351308&r1=351307&r2=351308
==============================================================================
--- branches/10/res/res_rtp_asterisk.c (original)
+++ branches/10/res/res_rtp_asterisk.c Tue Jan 17 11:22:40 2012
@@ -495,11 +495,9 @@
  */
 static int rtp_learning_rtp_seq_update(struct ast_rtp *rtp, uint16_t seq)
 {
-	int probation = 0;
+	int probation = 1;
 
 	ast_debug(1, "%p -- probation = %d, seq = %d\n", rtp, rtp->learning_probation, seq);
-
-	probation = 1;
 
 	if (seq == rtp->learning_max_seq + 1) {
 		/* packet is in sequence */
    
    
More information about the asterisk-commits
mailing list