<p>Josh Soref has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/16766">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">spelling: beginning<br><br>Change-Id: Ic12aca013bc2e317148f200678d47f7d0dc93bca<br>---<br>M apps/app_talkdetect.c<br>M channels/chan_sip.c<br>M contrib/utils/eagi_proxy.c<br>M formats/format_g719.c<br>M formats/format_g729.c<br>M formats/format_gsm.c<br>M formats/format_ilbc.c<br>M formats/format_ogg_vorbis.c<br>M formats/format_siren14.c<br>M formats/format_siren7.c<br>M formats/format_sln.c<br>M include/asterisk/mod_format.h<br>M main/enum.c<br>M main/xmldoc.c<br>M res/res_sorcery_memory_cache.c<br>15 files changed, 20 insertions(+), 20 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/66/16766/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_talkdetect.c b/apps/app_talkdetect.c</span><br><span>index a733f3a..56d5037 100644</span><br><span>--- a/apps/app_talkdetect.c</span><br><span>+++ b/apps/app_talkdetect.c</span><br><span>@@ -218,7 +218,7 @@</span><br><span> }</span><br><span> } else {</span><br><span> if (!notsilent) {</span><br><span style="color: hsl(0, 100%, 40%);">- /* Heard some audio, mark the begining of the token */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* Heard some audio, mark the beginning of the token */</span><br><span> start = ast_tvnow();</span><br><span> ast_debug(1, "Start of voice token!\n");</span><br><span> notsilent = 1;</span><br><span>diff --git a/channels/chan_sip.c b/channels/chan_sip.c</span><br><span>index 26b7a94..2acdd37 100644</span><br><span>--- a/channels/chan_sip.c</span><br><span>+++ b/channels/chan_sip.c</span><br><span>@@ -21029,7 +21029,7 @@</span><br><span> }</span><br><span> </span><br><span> if (!ast_strlen_zero(peer_name)) {</span><br><span style="color: hsl(0, 100%, 40%);">- /* strip SIP/ from the begining of the peer name */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* strip SIP/ from the beginning of the peer name */</span><br><span> if (strlen(peer_name) >= 4 && !strncasecmp("SIP/", peer_name, 4)) {</span><br><span> peer_name += 4;</span><br><span> }</span><br><span>diff --git a/contrib/utils/eagi_proxy.c b/contrib/utils/eagi_proxy.c</span><br><span>index e87b932..f87c6b4 100644</span><br><span>--- a/contrib/utils/eagi_proxy.c</span><br><span>+++ b/contrib/utils/eagi_proxy.c</span><br><span>@@ -349,7 +349,7 @@</span><br><span> {</span><br><span> size-=end-be;/* reduce new data size by the higher end size */</span><br><span> memcpy(be,buf,end-be);/* copy to higher end */</span><br><span style="color: hsl(0, 100%, 40%);">- be=winbuf;/* shift end to begining of buffer */</span><br><span style="color: hsl(120, 100%, 40%);">+ be=winbuf;/* shift end to beginning of buffer */</span><br><span> buf+=end-be;/* shift start of new data */</span><br><span> }</span><br><span> else/* if new data fits the higher end */</span><br><span>diff --git a/formats/format_g719.c b/formats/format_g719.c</span><br><span>index 673ec07..e7d2ee7 100644</span><br><span>--- a/formats/format_g719.c</span><br><span>+++ b/formats/format_g719.c</span><br><span>@@ -98,7 +98,7 @@</span><br><span> if (whence != SEEK_FORCECUR)</span><br><span> offset = (offset > max) ? max : offset;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- /* always protect against seeking past begining. */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* always protect against seeking past beginning. */</span><br><span> offset = (offset < min) ? min : offset;</span><br><span> </span><br><span> return fseeko(fs->f, offset, SEEK_SET);</span><br><span>diff --git a/formats/format_g729.c b/formats/format_g729.c</span><br><span>index a6539a3..5995b84 100644</span><br><span>--- a/formats/format_g729.c</span><br><span>+++ b/formats/format_g729.c</span><br><span>@@ -97,7 +97,7 @@</span><br><span> if (whence != SEEK_FORCECUR) {</span><br><span> offset = (offset > max)?max:offset;</span><br><span> }</span><br><span style="color: hsl(0, 100%, 40%);">- /* protect against seeking beyond begining. */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* protect against seeking beyond beginning. */</span><br><span> offset = (offset < min)?min:offset;</span><br><span> if (fseeko(fs->f, offset, SEEK_SET) < 0)</span><br><span> return -1;</span><br><span>diff --git a/formats/format_gsm.c b/formats/format_gsm.c</span><br><span>index 48699b6..e833b2e 100644</span><br><span>--- a/formats/format_gsm.c</span><br><span>+++ b/formats/format_gsm.c</span><br><span>@@ -126,7 +126,7 @@</span><br><span> offset = max - distance;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- /* Always protect against seeking past the begining. */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* Always protect against seeking past the beginning. */</span><br><span> offset = (offset < min)?min:offset;</span><br><span> if (whence != SEEK_FORCECUR) {</span><br><span> offset = (offset > max)?max:offset;</span><br><span>diff --git a/formats/format_ilbc.c b/formats/format_ilbc.c</span><br><span>index 7de5abb..b3cc3f0 100644</span><br><span>--- a/formats/format_ilbc.c</span><br><span>+++ b/formats/format_ilbc.c</span><br><span>@@ -94,7 +94,7 @@</span><br><span> if (whence != SEEK_FORCECUR) {</span><br><span> offset = (offset > max)?max:offset;</span><br><span> }</span><br><span style="color: hsl(0, 100%, 40%);">- /* protect against seeking beyond begining. */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* protect against seeking beyond beginning. */</span><br><span> offset = (offset < min)?min:offset;</span><br><span> if (fseeko(fs->f, offset, SEEK_SET) < 0)</span><br><span> return -1;</span><br><span>diff --git a/formats/format_ogg_vorbis.c b/formats/format_ogg_vorbis.c</span><br><span>index ba86842..f6e35b9 100644</span><br><span>--- a/formats/format_ogg_vorbis.c</span><br><span>+++ b/formats/format_ogg_vorbis.c</span><br><span>@@ -385,7 +385,7 @@</span><br><span> return -1;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- /* ov_pcm_seek support seeking only from begining (SEEK_SET), the rest must be emulated */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* ov_pcm_seek support seeking only from beginning (SEEK_SET), the rest must be emulated */</span><br><span> switch (whence) {</span><br><span> case SEEK_SET:</span><br><span> seek_result = ov_pcm_seek(&desc->ov_f, sample_offset);</span><br><span>diff --git a/formats/format_siren14.c b/formats/format_siren14.c</span><br><span>index 60a3444..29dc01c 100644</span><br><span>--- a/formats/format_siren14.c</span><br><span>+++ b/formats/format_siren14.c</span><br><span>@@ -98,7 +98,7 @@</span><br><span> if (whence != SEEK_FORCECUR)</span><br><span> offset = (offset > max) ? max : offset;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- /* always protect against seeking past begining. */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* always protect against seeking past beginning. */</span><br><span> offset = (offset < min) ? min : offset;</span><br><span> </span><br><span> return fseeko(fs->f, offset, SEEK_SET);</span><br><span>diff --git a/formats/format_siren7.c b/formats/format_siren7.c</span><br><span>index 27fec36..afd9497 100644</span><br><span>--- a/formats/format_siren7.c</span><br><span>+++ b/formats/format_siren7.c</span><br><span>@@ -98,7 +98,7 @@</span><br><span> if (whence != SEEK_FORCECUR)</span><br><span> offset = (offset > max) ? max : offset;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- /* always protect against seeking past begining. */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* always protect against seeking past beginning. */</span><br><span> offset = (offset < min) ? min : offset;</span><br><span> </span><br><span> return fseeko(fs->f, offset, SEEK_SET);</span><br><span>diff --git a/formats/format_sln.c b/formats/format_sln.c</span><br><span>index 80d3484..4486c13 100644</span><br><span>--- a/formats/format_sln.c</span><br><span>+++ b/formats/format_sln.c</span><br><span>@@ -97,7 +97,7 @@</span><br><span> if (whence != SEEK_FORCECUR) {</span><br><span> offset = (offset > max)?max:offset;</span><br><span> }</span><br><span style="color: hsl(0, 100%, 40%);">- /* always protect against seeking past begining. */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* always protect against seeking past beginning. */</span><br><span> offset = (offset < min)?min:offset;</span><br><span> return fseeko(fs->f, offset, SEEK_SET);</span><br><span> }</span><br><span>diff --git a/include/asterisk/mod_format.h b/include/asterisk/mod_format.h</span><br><span>index 6e772f0..4cfadf8 100644</span><br><span>--- a/include/asterisk/mod_format.h</span><br><span>+++ b/include/asterisk/mod_format.h</span><br><span>@@ -85,7 +85,7 @@</span><br><span> * required size (in bytes) and the support routine will allocate them</span><br><span> * for you, pointed by s->buf and s->private, respectively.</span><br><span> * When allocating a buffer, remember to leave AST_FRIENDLY_OFFSET</span><br><span style="color: hsl(0, 100%, 40%);">- * spare bytes at the bginning.</span><br><span style="color: hsl(120, 100%, 40%);">+ * spare bytes at the beginning.</span><br><span> */</span><br><span> int buf_size; /*!< size of frame buffer, if any, aligned to 8 bytes. */</span><br><span> int desc_size; /*!< size of private descriptor, if any */</span><br><span>diff --git a/main/enum.c b/main/enum.c</span><br><span>index 48924b9..52b98a7 100644</span><br><span>--- a/main/enum.c</span><br><span>+++ b/main/enum.c</span><br><span>@@ -513,7 +513,7 @@</span><br><span> re_flags |= REG_ICASE;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- pattern = regexp + 1; /* pattern is the regex without the begining and ending delimiter */</span><br><span style="color: hsl(120, 100%, 40%);">+ pattern = regexp + 1; /* pattern is the regex without the beginning and ending delimiter */</span><br><span> *delim2 = 0; /* zero out the middle delimiter */</span><br><span> subst = delim2 + 1; /* dst substring is everything after the second delimiter. */</span><br><span> regexp[regexp_len - 1] = 0; /* zero out the last delimiter */</span><br><span>diff --git a/main/xmldoc.c b/main/xmldoc.c</span><br><span>index 8b273f0..adb089f 100644</span><br><span>--- a/main/xmldoc.c</span><br><span>+++ b/main/xmldoc.c</span><br><span>@@ -630,7 +630,7 @@</span><br><span> * \param rootname Name of the application, function, option, etc. to build the syntax.</span><br><span> * \param childname The name of each parameter node.</span><br><span> * \param printparenthesis Boolean if we must print parenthesis if not parameters are found in the rootnode.</span><br><span style="color: hsl(0, 100%, 40%);">- * \param printrootname Boolean if we must print the rootname before the syntax and parenthesis at the begining/end.</span><br><span style="color: hsl(120, 100%, 40%);">+ * \param printrootname Boolean if we must print the rootname before the syntax and parenthesis at the beginning/end.</span><br><span> *</span><br><span> * \retval NULL on error.</span><br><span> * \retval An ast_malloc'ed string with the syntax generated.</span><br><span>@@ -1437,7 +1437,7 @@</span><br><span> </span><br><span> /* parse <para> elements inside special tags. */</span><br><span> for (node = ast_xml_node_get_children(node); node; node = ast_xml_node_get_next(node)) {</span><br><span style="color: hsl(0, 100%, 40%);">- /* first <para> just print it without tabs at the begining. */</span><br><span style="color: hsl(120, 100%, 40%);">+ /* first <para> just print it without tabs at the beginning. */</span><br><span> if ((xmldoc_parse_para(node, "", posttabs, buffer) == 2)</span><br><span> || (xmldoc_parse_info(node, "", posttabs, buffer) == 2)) {</span><br><span> ret = 2;</span><br><span>@@ -1505,7 +1505,7 @@</span><br><span> * \brief Parse a <variable> node inside a <variablelist> node.</span><br><span> *</span><br><span> * \param node The variable node to parse.</span><br><span style="color: hsl(0, 100%, 40%);">- * \param tabs A string to be appended at the begining of the output that will be stored</span><br><span style="color: hsl(120, 100%, 40%);">+ * \param tabs A string to be appended at the beginning of the output that will be stored</span><br><span> * in buffer.</span><br><span> * \param buffer This must be an already created ast_str. It will be used</span><br><span> * to store the result (if already has something it will be appended to the current</span><br><span>@@ -1566,7 +1566,7 @@</span><br><span> * \brief Parse a <variablelist> node and put all the output inside 'buffer'.</span><br><span> *</span><br><span> * \param node The variablelist node pointer.</span><br><span style="color: hsl(0, 100%, 40%);">- * \param tabs A string to be appended at the begining of the output that will be stored</span><br><span style="color: hsl(120, 100%, 40%);">+ * \param tabs A string to be appended at the beginning of the output that will be stored</span><br><span> * in buffer.</span><br><span> * \param buffer This must be an already created ast_str. It will be used</span><br><span> * to store the result (if already has something it will be appended to the current</span><br><span>@@ -1791,7 +1791,7 @@</span><br><span> * \brief Parse an <option> node.</span><br><span> *</span><br><span> * \param fixnode An ast_xml pointer to the <option> node.</span><br><span style="color: hsl(0, 100%, 40%);">- * \param tabs A string to be appended at the begining of each line being added to the</span><br><span style="color: hsl(120, 100%, 40%);">+ * \param tabs A string to be appended at the beginning of each line being added to the</span><br><span> * buffer string.</span><br><span> * \param buffer The output buffer.</span><br><span> *</span><br><span>@@ -1838,7 +1838,7 @@</span><br><span> * \brief Parse an <optionlist> element from the xml documentation.</span><br><span> *</span><br><span> * \param fixnode Pointer to the optionlist xml node.</span><br><span style="color: hsl(0, 100%, 40%);">- * \param tabs A string to be appended at the begining of each line being added to the</span><br><span style="color: hsl(120, 100%, 40%);">+ * \param tabs A string to be appended at the beginning of each line being added to the</span><br><span> * buffer string.</span><br><span> * \param buffer Output buffer to put what is inside the optionlist tag.</span><br><span> */</span><br><span>diff --git a/res/res_sorcery_memory_cache.c b/res/res_sorcery_memory_cache.c</span><br><span>index dad3146..03444c2 100644</span><br><span>--- a/res/res_sorcery_memory_cache.c</span><br><span>+++ b/res/res_sorcery_memory_cache.c</span><br><span>@@ -3186,7 +3186,7 @@</span><br><span> </span><br><span> real_backend_data = &iterations[i];</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- ast_test_status_update(test, "Begininning iteration %d\n", i);</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_test_status_update(test, "Beginning iteration %d\n", i);</span><br><span> </span><br><span> cache_fresh = ast_sorcery_retrieve_by_id(sorcery, "test", "test");</span><br><span> if (!cache_fresh) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16766">change 16766</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/+/16766"/><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: Ic12aca013bc2e317148f200678d47f7d0dc93bca </div>
<div style="display:none"> Gerrit-Change-Number: 16766 </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>