<p>George Joseph <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11300">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Sean Bright: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_indications: Fix indications remove command autocomplete<br><br>We changed the validation of autocomplete parameter in the "indications<br>remove" command to avoid continue the execution of the command after<br>asking for autocomplete out of range parameters.<br><br>ASTERISK-28391<br>Reported by: lmendes86<br><br>Change-Id: I92b24131fd02f2e3c7fec966eea6f7a663310d40<br>---<br>M main/indications.c<br>1 file changed, 3 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/indications.c b/main/indications.c</span><br><span>index 1f77ca1..c074844 100644</span><br><span>--- a/main/indications.c</span><br><span>+++ b/main/indications.c</span><br><span>@@ -764,9 +764,11 @@</span><br><span> case CLI_GENERATE:</span><br><span> if (a->pos == 2) {</span><br><span> return complete_country(a);</span><br><span style="color: hsl(0, 100%, 40%);">- } else if (a->pos == 3) {</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span style="color: hsl(120, 100%, 40%);">+ if (a->pos == 3) {</span><br><span> return complete_indications(a);</span><br><span> }</span><br><span style="color: hsl(120, 100%, 40%);">+ return NULL;</span><br><span> }</span><br><span> </span><br><span> if (a->argc != 3 && a->argc != 4) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11300">change 11300</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/c/asterisk/+/11300"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I92b24131fd02f2e3c7fec966eea6f7a663310d40 </div>
<div style="display:none"> Gerrit-Change-Number: 11300 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Lucas Mendes <lucas.mendes@wearespindle.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>