<p style="white-space: pre-wrap; word-wrap: break-word;">This didn't address Josh's concerns in the original review.</p><p style="white-space: pre-wrap; word-wrap: break-word;">In fact you created an entirely new review which is wrong. Every time you change the Change-Id in your commit message and post it to Gerrit that creates a new unrelated review request rather than updating the previous review. Do not change the Change-Id when you make alterations to your patch.</p><p>Patch set 1:<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/10736">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/10736/1//COMMIT_MSG">Commit Message:</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/10736/1//COMMIT_MSG@7">Patch Set #1, Line 7:</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;">app_amd: Infinite loop on silent calls<br><br>Change-Id: I24726bd29d7e467fc721ca265363417234b22855<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Add the JIRA issue ID as directed by the wiki page Josh indicated on the other review.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/10736/1/apps/app_amd.c">File apps/app_amd.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/10736/1/apps/app_amd.c@283">Patch Set #1, Line 283:</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;"> if (res > 0) {<br> ms = 2 * maxWaitTimeForFrame - res;<br> } else {<br> ms = 2 * maxWaitTimeForFrame;<br> }<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">This could just be:<br>ms = 2 * maxWaitTimeForFrame - res;</p><p style="white-space: pre-wrap; word-wrap: break-word;">The while loop test only allows res >= 0.</p><p style="white-space: pre-wrap; word-wrap: break-word;">However, the JIRA issue has no information on the scenario you are trying to fix.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/10736/1/apps/app_amd.c@298">Patch Set #1, Line 298:</a> <code style="font-family:monospace,monospace"> if (f->frametype == AST_FRAME_VOICE || f->frametype == AST_FRAME_CNG || f->frametype == AST_FRAME_NULL) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This was not addressed by Josh's previous comment. What is the scenario that causes the loop you are trying to fix?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10736">change 10736</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/10736"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I24726bd29d7e467fc721ca265363417234b22855 </div>
<div style="display:none"> Gerrit-Change-Number: 10736 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Abhay Gupta <abhay@avissol.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 05 Dec 2018 16:32:44 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>