mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix various compiler warnings (bug #322)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6372,7 +6372,7 @@ static int handle_r2_no_debug(int fd, int argc, char *argv[])
|
||||
return RESULT_SHOWUSAGE;
|
||||
chan = atoi(argv[4]);
|
||||
if ((chan < 1) || (chan > NUM_SPANS)) {
|
||||
ast_cli(fd, "Invalid channel %s. Should be a number greater than 0\n");
|
||||
ast_cli(fd, "Invalid channel %s. Should be a number greater than 0\n", argv[4]);
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
tmp = iflist;
|
||||
@@ -6403,7 +6403,7 @@ static int handle_r2_debug(int fd, int argc, char *argv[])
|
||||
}
|
||||
chan = atoi(argv[3]);
|
||||
if ((chan < 1) || (chan > NUM_SPANS)) {
|
||||
ast_cli(fd, "Invalid channel %s. Should be a number greater than 0\n");
|
||||
ast_cli(fd, "Invalid channel %s. Should be a number greater than 0\n", argv[3]);
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
tmp = iflist;
|
||||
|
Reference in New Issue
Block a user