aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-22 17:26:10 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-22 17:26:10 +0000
commitf4108c03f36078e57aa2811f4a44e9a762d8b22e (patch)
tree350e62eb25bd9c940175cdf963f077a09e6c023e /main
parent10a1e2f957bba3061f249c841ced9908cc01b5dd (diff)
Merged revisions 43492 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43492 | qwell | 2006-09-22 10:25:05 -0700 (Fri, 22 Sep 2006) | 2 lines Make sure we explicitly set the CLI command to not be deprecated, if it isn't. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43493 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/cli.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/cli.c b/main/cli.c
index 8d53aaa4b..698f249f4 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -1153,6 +1153,8 @@ static int __ast_cli_register(struct ast_cli_entry *e, struct ast_cli_entry *ed)
To show command B, you just need to always use ed->_full_cmd.
*/
e->_deprecated_by = S_OR(ed->_deprecated_by, ed->_full_cmd);
+ } else {
+ e->deprecated = 0;
}
lf = strlen(fulle);