SVN commits to the Digium repositories wrote: > Author: mvanbaak > Date: Thu Jan 31 16:05:44 2008 > New Revision: 101579 > > URL: http://svn.digium.com/view/asterisk?view=rev&rev=101579 > Log: > add patches from mantis to this branch
> - if (a->argc != 2) > + if (a->argc != 3) > return CLI_SHOWUSAGE; You have this type of change in a bunch of places. Instead of changing it that way, a better thing to do is to change it to: if (a->argc != e->args) That way, no matter how many words make up the CLI command, you won't have to change it again. -- Russell Bryant Senior Software Engineer Open Source Team Lead Digium, Inc. _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
