dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 42946 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42946 | tilghman | 2006-09-14 17:16:31 -0500 (Thu, 14 Sep 2006) | 2 lines

Error message references wrong argument (Issue 7951)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42947 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tilghman 2006-09-14 22:18:07 +00:00
parent ce28570f23
commit fae908b385
1 changed files with 1 additions and 1 deletions

View File

@ -9537,7 +9537,7 @@ static int handle_pri_show_span(int fd, int argc, char *argv[])
return RESULT_SHOWUSAGE;
span = atoi(argv[3]);
if ((span < 1) || (span > NUM_SPANS)) {
ast_cli(fd, "Invalid span %s. Should be a number %d to %d\n", argv[4], 1, NUM_SPANS);
ast_cli(fd, "Invalid span '%s'. Should be a number from %d to %d\n", argv[3], 1, NUM_SPANS);
return RESULT_SUCCESS;
}
if (!pris[span-1].pri) {