[asterisk-commits] simon.perreault: branch group/v6 r84631 -	/team/group/v6/trunk/main/rtp.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Thu Oct  4 07:24:35 CDT 2007
    
    
  
Author: simon.perreault
Date: Thu Oct  4 07:24:34 2007
New Revision: 84631
URL: http://svn.digium.com/view/asterisk?view=rev&rev=84631
Log:
The no-brackets style should be illegal.
Modified:
    team/group/v6/trunk/main/rtp.c
Modified: team/group/v6/trunk/main/rtp.c
URL: http://svn.digium.com/view/asterisk/team/group/v6/trunk/main/rtp.c?view=diff&rev=84631&r1=84630&r2=84631
==============================================================================
--- team/group/v6/trunk/main/rtp.c (original)
+++ team/group/v6/trunk/main/rtp.c Thu Oct  4 07:24:34 2007
@@ -1500,11 +1500,12 @@
 			}
 			rtp->rxseqno = 0;
 			ast_set_flag(rtp, FLAG_NAT_ACTIVE);
-			if (option_debug || rtpdebug)
+			if (option_debug || rtpdebug) {
 				ast_vinetsock_sa_get_hostport((struct sockaddr*)&rtp->them,
 						rtp->themlen, hostport,
 						sizeof(hostport));
 				ast_debug(0, "RTP NAT: Got audio from other end. Now sending to address %s\n", hostport);
+			}
 		}
 	}
 
    
    
More information about the asterisk-commits
mailing list