[Asterisk-code-review] stasis: Allow filtering by formatter (asterisk[13])
Kevin Harwell
asteriskteam at digium.com
Tue Dec 11 17:57:43 CST 2018
Kevin Harwell has posted comments on this change. ( https://gerrit.asterisk.org/10739 )
Change subject: stasis: Allow filtering by formatter
......................................................................
Patch Set 2: Code-Review-1
(3 comments)
https://gerrit.asterisk.org/#/c/10739/2/main/stasis.c
File main/stasis.c:
https://gerrit.asterisk.org/#/c/10739/2/main/stasis.c@897
PS2, Line 897: /*
: * The 'do while' gives us an easy way to skip remaining logic once
: * we determine the message should be accepted.
: * The code looks more verbose than it needs to be but it optimizes
: * down very nicely. It's just easier to understand and debug this way.
: */
: do {
Instead of a do/while format why not just put this logic in a separate aptly named function?
https://gerrit.asterisk.org/#/c/10739/2/tests/test_stasis.c
File tests/test_stasis.c:
https://gerrit.asterisk.org/#/c/10739/2/tests/test_stasis.c@2078
PS2, Line 2078: /* N.B. Don't cleanup types->change! */
What does "N.B." mean/stand for here?
https://gerrit.asterisk.org/#/c/10739/2/tests/test_stasis.c@2352
PS2, Line 2352: /* We should now have a second amievent */
s/amievent/ami event
--
To view, visit https://gerrit.asterisk.org/10739
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifdb7a222a73b6b56c6bb9e4ee93dc8a394a5494c
Gerrit-Change-Number: 10739
Gerrit-PatchSet: 2
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Friendly Automation (1000185)
Gerrit-Reviewer: Joshua C. Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Comment-Date: Tue, 11 Dec 2018 23:57:43 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181211/6fa9ca97/attachment.html>
More information about the asterisk-code-review
mailing list