Skip to content
Snippets Groups Projects
Commit 109f527e authored by Tzafrir Cohen's avatar Tzafrir Cohen
Browse files

Left over spacing issues of review 726.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent b10bb8fa
No related branches found
No related tags found
No related merge requests found
...@@ -15130,14 +15130,14 @@ static char *handle_pri_destroy_span(struct ast_cli_entry *e, int cmd, ...@@ -15130,14 +15130,14 @@ static char *handle_pri_destroy_span(struct ast_cli_entry *e, int cmd,
a->argv[3], 1, NUM_SPANS); a->argv[3], 1, NUM_SPANS);
return CLI_SUCCESS; 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); ast_cli(a->fd, "No PRI running on span %d\n", span);
return CLI_SUCCESS; return CLI_SUCCESS;
} }
   
for (i = 0; i < pris[span - 1].pri.numchans; i++) { for (i = 0; i < pris[span - 1].pri.numchans; i++) {
int channel; 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) { if (!pvt) {
continue; continue;
...@@ -15147,7 +15147,7 @@ static char *handle_pri_destroy_span(struct ast_cli_entry *e, int cmd, ...@@ -15147,7 +15147,7 @@ static char *handle_pri_destroy_span(struct ast_cli_entry *e, int cmd,
dahdi_destroy_channel_bynum(channel); dahdi_destroy_channel_bynum(channel);
} }
ast_debug(2, "About to destroy D-channel of span %d.\n", span); 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; return CLI_SUCCESS;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment