[Freeswitch-trunk] [commit] r12662 - freeswitch/trunk/src

FreeSWITCH SVN brian at freeswitch.org
Wed Mar 18 18:06:21 PDT 2009


Author: brian
Date: Wed Mar 18 20:06:21 2009
New Revision: 12662

Log:
bracketless if's are not allowed doh

Modified:
   freeswitch/trunk/src/switch_rtp.c

Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c	(original)
+++ freeswitch/trunk/src/switch_rtp.c	Wed Mar 18 20:06:21 2009
@@ -624,10 +624,11 @@
 
 SWITCH_DECLARE(void) switch_rtp_set_max_missed_packets(switch_rtp_t *rtp_session, uint32_t max)
 {
-	if (rtp_session->missed_count >= max)
+	if (rtp_session->missed_count >= max) {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, 
-				"new max missed packets(%d->%d) greater than current missed packets(%d). RTP will timeout.\n", 
-				rtp_session->missed_count, max, rtp_session->missed_count);
+						  "new max missed packets(%d->%d) greater than current missed packets(%d). RTP will timeout.\n", 
+						  rtp_session->missed_count, max, rtp_session->missed_count);
+	}
 
 	rtp_session->max_missed_packets = max;
 }



More information about the Freeswitch-trunk mailing list