<p>Kevin Harwell <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18588">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Kevin Harwell: Looks good to me, approved; Approved for Submit
Benjamin Keith Ford: Looks good to me, but someone else must approve
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_parking: Warn if out of bounds parking spot requested.<br><br>Emits a warning if the user has requested a parking spot that<br>is out of bounds for the requested parking lot.<br><br>ASTERISK-30086<br><br>Change-Id: I1080371e4f63e94724455003753014fbd3f95fbf<br>---<br>M res/parking/parking_controller.c<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/parking/parking_controller.c b/res/parking/parking_controller.c</span><br><span>index 365acdd..9b789ce 100644</span><br><span>--- a/res/parking/parking_controller.c</span><br><span>+++ b/res/parking/parking_controller.c</span><br><span>@@ -110,6 +110,8 @@</span><br><span> </span><br><span> if (target_override >= lot->cfg->parking_start && target_override <= lot->cfg->parking_stop) {</span><br><span> original_target = target_override;</span><br><span style="color: hsl(120, 100%, 40%);">+ } else if (target_override > -1) {</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_log(LOG_WARNING, "Preferred parking spot %d is out of bounds (%d-%d)\n", target_override, lot->cfg->parking_start, lot->cfg->parking_stop);</span><br><span> }</span><br><span> </span><br><span> current_target = original_target;</span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18588">change 18588</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/+/18588"/><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-Change-Id: I1080371e4f63e94724455003753014fbd3f95fbf </div>
<div style="display:none"> Gerrit-Change-Number: 18588 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>