[asterisk-commits] qwell: branch 1.4 r43492 - /branches/1.4/main/cli.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Sep 22 10:25:06 MST 2006


Author: qwell
Date: Fri Sep 22 12:25:05 2006
New Revision: 43492

URL: http://svn.digium.com/view/asterisk?rev=43492&view=rev
Log:
Make sure we explicitly set the CLI command to not be deprecated, if it isn't.

Modified:
    branches/1.4/main/cli.c

Modified: branches/1.4/main/cli.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/cli.c?rev=43492&r1=43491&r2=43492&view=diff
==============================================================================
--- branches/1.4/main/cli.c (original)
+++ branches/1.4/main/cli.c Fri Sep 22 12:25:05 2006
@@ -1421,6 +1421,8 @@
 		   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);



More information about the asterisk-commits mailing list