[asterisk-dev] [Code Review] 2709: Remove leading spaces from the CLI command before parsing

Tilghman Lesher reviewboard at asterisk.org
Sat Jul 27 15:54:45 CDT 2013

This is an automatically generated e-mail. To reply, visit:

Review request for Asterisk Developers.

Repository: Asterisk


A long-standing annoyance.  If you've mistakenly put a space before typing in a command, the leading space will be included as part of the command, and the command parser will not find the corresponding command.


  /branches/1.8/main/asterisk.c 395602 
  /branches/1.8/main/cli.c 395602 

Diff: https://reviewboard.asterisk.org/r/2709/diff/


Command line testing.  Works as intended.


Tilghman Lesher

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130727/1a195094/attachment.htm>

More information about the asterisk-dev mailing list