[asterisk-commits] mmichelson: branch mmichelson/atxfer_features r394568 - in /team/mmichelson/a...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 17 13:01:24 CDT 2013


Author: mmichelson
Date: Wed Jul 17 13:01:22 2013
New Revision: 394568

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=394568
Log:
Get branch up to date so I can put a new review up.


Modified:
    team/mmichelson/atxfer_features/   (props changed)
    team/mmichelson/atxfer_features/channels/chan_dahdi.c

Propchange: team/mmichelson/atxfer_features/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Jul 17 13:01:22 2013
@@ -1,1 +1,1 @@
-/trunk:1-394555
+/trunk:1-394567

Modified: team/mmichelson/atxfer_features/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/atxfer_features/channels/chan_dahdi.c?view=diff&rev=394568&r1=394567&r2=394568
==============================================================================
--- team/mmichelson/atxfer_features/channels/chan_dahdi.c (original)
+++ team/mmichelson/atxfer_features/channels/chan_dahdi.c Wed Jul 17 13:01:22 2013
@@ -15130,14 +15130,14 @@
 			a->argv[3], 1, NUM_SPANS);
 		return CLI_SUCCESS;
 	}
-	if (!pris[span-1].pri.pri) {
+	if (!pris[span - 1].pri.pri) {
 		ast_cli(a->fd, "No PRI running on span %d\n", span);
 		return CLI_SUCCESS;
 	}
 
 	for (i = 0; i < pris[span - 1].pri.numchans; i++) {
 		int channel;
-		struct sig_pri_chan *pvt = pris[span-1].pri.pvts[i];
+		struct sig_pri_chan *pvt = pris[span - 1].pri.pvts[i];
 
 		if (!pvt) {
 			continue;
@@ -15147,7 +15147,7 @@
 		dahdi_destroy_channel_bynum(channel);
 	}
 	ast_debug(2, "About to destroy D-channel of span %d.\n", span);
-	pri_destroy_dchan(&pris[span-1].pri);
+	pri_destroy_dchan(&pris[span - 1].pri);
 
 	return CLI_SUCCESS;
 }




More information about the asterisk-commits mailing list