]> git.ipfire.org Git - thirdparty/asterisk.git/commit
CLI: Refactor ast_cli_display_match_list.
authorCorey Farrell <git@cfware.com>
Tue, 7 Nov 2017 20:47:51 +0000 (15:47 -0500)
committerCorey Farrell <git@cfware.com>
Tue, 21 Nov 2017 14:56:23 +0000 (09:56 -0500)
commite07d94111dfdcda5d035c6aab0b213ed2f81a865
tree5e68440c837715a0a79a98eb839e3f4fe9d6ef62
parent0fd8db7ec24abfd84a4d9a87b7e677b06bf83e39
CLI: Refactor ast_cli_display_match_list.

* Stop estimating line count, just print until we run out of matches.
* Stop freeing entries, the caller does that anyways.
* Stop calculating / returning numoutput, it was ignored.

Change-Id: I7f92afa8bea92241a95227587367424c8c32a5cb
main/asterisk.c