[svn-commits] simon.perreault: branch group/v6 r84785 - /team/group/v6/trunk/channels/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Oct 5 11:56:33 CDT 2007


Author: simon.perreault
Date: Fri Oct  5 11:56:32 2007
New Revision: 84785

URL: http://svn.digium.com/view/asterisk?view=rev&rev=84785
Log:
Fixed warning.

Modified:
    team/group/v6/trunk/channels/chan_mgcp.c

Modified: team/group/v6/trunk/channels/chan_mgcp.c
URL: http://svn.digium.com/view/asterisk/team/group/v6/trunk/channels/chan_mgcp.c?view=diff&rev=84785&r1=84784&r2=84785
==============================================================================
--- team/group/v6/trunk/channels/chan_mgcp.c (original)
+++ team/group/v6/trunk/channels/chan_mgcp.c Fri Oct  5 11:56:32 2007
@@ -3571,12 +3571,12 @@
 						gw->addr.sin_port = 0;
 					}
 				} else {
+					socklen_t dummy;
 					/* Non-dynamic.  Make sure we become that way if we're not */
 					if (gw->expire > -1)
 						ast_sched_del(sched, gw->expire);
 					gw->expire = -1;
 					gw->dynamic = 0;
-					socklen_t dummy;
 					if (ast_get_ip((struct sockaddr*) &gw->addr,
 								&dummy, v->value)) {
 						if (!gw_reload) {




More information about the svn-commits mailing list