https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51241 | qwell | 2007-01-18 12:28:29 -0600 (Thu, 18 Jan 2007) | 2 lines
Fix an issue with deprecated commands
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51242
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
{
struct chanlist *cl = NULL;
{
struct chanlist *cl = NULL;
return RESULT_SHOWUSAGE;
if (AST_LIST_LOCK(&channels)) {
return RESULT_SHOWUSAGE;
if (AST_LIST_LOCK(&channels)) {
}
AST_LIST_TRAVERSE(&backends, cl, list) {
}
AST_LIST_TRAVERSE(&backends, cl, list) {
- if (!strncasecmp(cl->tech->type, argv[2], strlen(cl->tech->type))) {
+ if (!strncasecmp(cl->tech->type, argv[3], strlen(cl->tech->type))) {
- ast_cli(fd, "\n%s is not a registered channel driver.\n", argv[2]);
+ ast_cli(fd, "\n%s is not a registered channel driver.\n", argv[3]);
AST_LIST_UNLOCK(&channels);
return RESULT_FAILURE;
}
AST_LIST_UNLOCK(&channels);
return RESULT_FAILURE;
}
int wordlen;
char *ret = NULL;
int wordlen;
char *ret = NULL;
return NULL;
wordlen = strlen(word);
return NULL;
wordlen = strlen(word);