[Asterisk-code-review] spelling: initial (asterisk[master])
Josh Soref
asteriskteam at digium.com
Sun Nov 7 00:10:26 CDT 2021
Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/16974 )
Change subject: spelling: initial
......................................................................
spelling: initial
Change-Id: Ie31309c7a94717a6e285919fb956fdcb22072918
---
M apps/app_audiosocket.c
M channels/chan_motif.c
M channels/chan_sip.c
M channels/console_gui.c
M channels/console_video.c
M doc/asterisk.8
M doc/asterisk.sgml
M include/asterisk/res_pjsip.h
M res/prometheus/prometheus_internal.h
M rest-api-templates/res_ari_resource.c.mustache
10 files changed, 13 insertions(+), 13 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/74/16974/1
diff --git a/apps/app_audiosocket.c b/apps/app_audiosocket.c
index 45d3396..a8dbcdb 100644
--- a/apps/app_audiosocket.c
+++ b/apps/app_audiosocket.c
@@ -173,7 +173,7 @@
}
if (ast_audiosocket_init(svc, id)) {
- ast_log(LOG_ERROR, "Failed to intialize AudioSocket\n");
+ ast_log(LOG_ERROR, "Failed to initialize AudioSocket\n");
return -1;
}
diff --git a/channels/chan_motif.c b/channels/chan_motif.c
index 0a5f3af..e06c72a 100644
--- a/channels/chan_motif.c
+++ b/channels/chan_motif.c
@@ -2731,7 +2731,7 @@
}
if (aco_info_init(&cfg_info)) {
- ast_log(LOG_ERROR, "Unable to intialize configuration for chan_motif.\n");
+ ast_log(LOG_ERROR, "Unable to initialize configuration for chan_motif.\n");
goto end;
}
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index fdc2bdd..d2f168f 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -3442,7 +3442,7 @@
}
}
-/*! \brief Initialize the initital request packet in the pvt structure.
+/*! \brief Initialize the initial request packet in the pvt structure.
This packet is used for creating replies and future requests in
a dialog */
static void initialize_initreq(struct sip_pvt *p, struct sip_request *req)
@@ -28996,7 +28996,7 @@
{
enum check_auth_result res;
- /* If this is not the intial request, and the initial request isn't
+ /* If this is not the initial request, and the initial request isn't
* a register, something screwy happened, so bail */
if (p->initreq.headers && p->initreq.method != SIP_REGISTER) {
ast_log(LOG_WARNING, "Ignoring spurious REGISTER with Call-ID: %s\n", p->callid);
diff --git a/channels/console_gui.c b/channels/console_gui.c
index cc804bd..6ee588c 100644
--- a/channels/console_gui.c
+++ b/channels/console_gui.c
@@ -1414,7 +1414,7 @@
SDL_WM_SetCaption("Asterisk console Video Output", NULL);
- /* intialize the windows for local and remote video */
+ /* initialize the windows for local and remote video */
if (set_win(gui->screen, &gui->win[WIN_REMOTE], dpy_fmt,
env->rem_dpy.w, env->rem_dpy.h, x0-kp_w/2-BORDER-env->rem_dpy.w, y0))
goto no_sdl;
diff --git a/channels/console_video.c b/channels/console_video.c
index 4a19118..1e2fad6 100644
--- a/channels/console_video.c
+++ b/channels/console_video.c
@@ -896,7 +896,7 @@
*/
video_out_init(env);
- /* Writes intial status of the sources. */
+ /* Writes initial status of the sources. */
if (env->gui) {
for (i = 0; i < env->out.device_num; i++) {
print_message(env->gui->thumb_bd_array[i].board,
diff --git a/doc/asterisk.8 b/doc/asterisk.8
index e5991d9..d2cc849 100644
--- a/doc/asterisk.8
+++ b/doc/asterisk.8
@@ -92,7 +92,7 @@
\-d
Enable extra debugging statements. This parameter may be used several
times, and each increases the debug level. Equivalent to \*(T<\fBdebug = \fR\*(T>\fInum\fR
-in \*(T<\fIasterisk.conf\fR\*(T> to explicitly set the initian debug
+in \*(T<\fIasterisk.conf\fR\*(T> to explicitly set the initial debug
level to \fInum\fR. When given at startup, this
option also implies \*(T<\fB\-f\fR\*(T> (no forking). However when
connecting to an existing Asterisk instance (\*(T<\fB\-r\fR\*(T> or
@@ -133,7 +133,7 @@
Provide brief summary of command line arguments and terminate.
.TP
\-i
-Prompt user to intialize any encrypted private keys for IAX2
+Prompt user to initialize any encrypted private keys for IAX2
secure authentication during startup.
.TP
\-I
diff --git a/doc/asterisk.sgml b/doc/asterisk.sgml
index 60450a0..6a6b5f4 100644
--- a/doc/asterisk.sgml
+++ b/doc/asterisk.sgml
@@ -125,7 +125,7 @@
<para>
Enable extra debugging statements. This parameter may be used several
times, and each increases the debug level. Equivalent to <option>debug = <replaceable>num</replaceable></option>
- in <filename>asterisk.conf</filename> to explicitly set the initian debug
+ in <filename>asterisk.conf</filename> to explicitly set the initial debug
level to <replaceable>num</replaceable>. When given at startup, this
option also implies <option>-f</option> (no forking). However when
connecting to an existing Asterisk instance (<option>-r</option> or
@@ -201,7 +201,7 @@
<term>-i</term>
<listitem>
<para>
- Prompt user to intialize any encrypted private keys for IAX2
+ Prompt user to initialize any encrypted private keys for IAX2
secure authentication during startup.
</para>
</listitem>
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h
index 75b9533..b1b2864 100644
--- a/include/asterisk/res_pjsip.h
+++ b/include/asterisk/res_pjsip.h
@@ -3193,7 +3193,7 @@
*
* \param tdata the tx data from the original request
* \retval 0 No more addresses to try
- * \retval 1 The request was successfully re-intialized
+ * \retval 1 The request was successfully re-initialized
*/
int ast_sip_failover_request(pjsip_tx_data *tdata);
diff --git a/res/prometheus/prometheus_internal.h b/res/prometheus/prometheus_internal.h
index ad6c528..0e9f40b 100644
--- a/res/prometheus/prometheus_internal.h
+++ b/res/prometheus/prometheus_internal.h
@@ -26,7 +26,7 @@
*
* This module provides internal APIs for \file res_prometheus.
* It should not be used outsize of that module, and should
- * typically only provide intialization functions for units that
+ * typically only provide initialization functions for units that
* want to register metrics / handlers with the core API.
*/
diff --git a/rest-api-templates/res_ari_resource.c.mustache b/rest-api-templates/res_ari_resource.c.mustache
index e320f19..6be5dc3 100644
--- a/rest-api-templates/res_ari_resource.c.mustache
+++ b/rest-api-templates/res_ari_resource.c.mustache
@@ -57,7 +57,7 @@
#endif
{{#has_websocket}}
{{! Only include http_websocket if necessary. Otherwise we'll do a lot of
- * unnecessary optional_api intialization, which makes optional_api harder
+ * unnecessary optional_api initialization, which makes optional_api harder
* to debug
}}
#include "asterisk/http_websocket.h"
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16974
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ie31309c7a94717a6e285919fb956fdcb22072918
Gerrit-Change-Number: 16974
Gerrit-PatchSet: 1
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211107/39b6119b/attachment-0001.html>
More information about the asterisk-code-review
mailing list