<p>Josh Soref has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/16951">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">spelling: guaranteed<br><br>Change-Id: I02509c07f88031b008fc17481d06a712f3c5f271<br>---<br>M main/enum.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/51/16951/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/enum.c b/main/enum.c</span><br><span>index 52b98a7..61587c3 100644</span><br><span>--- a/main/enum.c</span><br><span>+++ b/main/enum.c</span><br><span>@@ -557,7 +557,7 @@</span><br><span> ast_log(LOG_WARNING, "Error during regex substitution. Invalid pmatch index.\n");</span><br><span> return -1;</span><br><span> }</span><br><span style="color: hsl(0, 100%, 40%);">- /* pmatch len is 10. we are garanteed a single char 0-9 is a valid index */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* pmatch len is 10. we are guaranteed a single char 0-9 is a valid index */</span><br><span> size = pmatch[matchindex].rm_eo - pmatch[matchindex].rm_so;</span><br><span> if (size > d_len) {</span><br><span> ast_log(LOG_WARNING, "Not enough space during NAPTR regex substitution.\n");</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16951">change 16951</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/+/16951"/><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: I02509c07f88031b008fc17481d06a712f3c5f271 </div>
<div style="display:none"> Gerrit-Change-Number: 16951 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Josh Soref <jsoref@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Friendly Automation </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>