[svn-commits] simon.perreault: branch group/v6-new r273183 - /team/group/v6-new/channels/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 30 08:11:00 CDT 2010


Author: simon.perreault
Date: Wed Jun 30 08:10:56 2010
New Revision: 273183

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=273183
Log:
Fixed indentation and added braces.

Modified:
    team/group/v6-new/channels/chan_sip.c

Modified: team/group/v6-new/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/v6-new/channels/chan_sip.c?view=diff&rev=273183&r1=273182&r2=273183
==============================================================================
--- team/group/v6-new/channels/chan_sip.c (original)
+++ team/group/v6-new/channels/chan_sip.c Wed Jun 30 08:10:56 2010
@@ -3105,10 +3105,11 @@
 				ast_sockaddr_set_port(us, STANDARD_SIP_PORT);
 			}
 		}
-		else
+		else {
 			ast_log(LOG_WARNING, "stun failed\n");
-			ast_debug(1, "Target address %s is not local, substituting externip\n",
-			ast_sockaddr_stringify(them));
+		}
+		ast_debug(1, "Target address %s is not local, substituting externip\n",
+			  ast_sockaddr_stringify(them));
 	} else if (p) {
 		/* no remapping, but we bind to a specific address, so use it. */
 		switch (p->socket.type) {




More information about the svn-commits mailing list