<p>Patch set 2:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p><a href="https://gerrit.asterisk.org/10739">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/10739/2/main/stasis.c">File main/stasis.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/10739/2/main/stasis.c@897">Patch Set #2, Line 897:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> /*<br>     * The 'do while' gives us an easy way to skip remaining logic once<br>    * we determine the message should be accepted.<br>        * The code looks more verbose than it needs to be but it optimizes<br>    * down very nicely.  It's just easier to understand and debug this way.<br>   */<br>   do {<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Instead of a do/while format why not just put this logic in a separate aptly named function?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/10739/2/tests/test_stasis.c">File tests/test_stasis.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/10739/2/tests/test_stasis.c@2078">Patch Set #2, Line 2078:</a> <code style="font-family:monospace,monospace"> /* N.B.  Don't cleanup types->change! */</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">What does "N.B." mean/stand for here?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/10739/2/tests/test_stasis.c@2352">Patch Set #2, Line 2352:</a> <code style="font-family:monospace,monospace">      /* We should now have a second amievent */</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">s/amievent/ami event</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10739">change 10739</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10739"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ifdb7a222a73b6b56c6bb9e4ee93dc8a394a5494c </div>
<div style="display:none"> Gerrit-Change-Number: 10739 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Joshua C. Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 11 Dec 2018 23:57:43 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>