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:48:36 +0000 (09:48 -0500)
commit9c0a2110f0dab77fbf67e4bdd8cd1e7af6bd6545
tree4857854acaa6b2ada0be424d5897c99700b28277
parent3abf8dfeae25126f0a8da47852a9cbaabb657e6a
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