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

svnbot reviewboard at asterisk.org
Thu Aug 15 11:21:23 CDT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2709/
-----------------------------------------------------------

(Updated Aug. 15, 2013, 11:21 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 396745


Repository: Asterisk


Description
-------

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.


Diffs
-----

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

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


Testing
-------

Command line testing.  Works as intended.


Thanks,

Tilghman Lesher

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130815/3951865c/attachment.htm>


More information about the asterisk-dev mailing list