[Asterisk-code-review] spelling: variable (asterisk[master])

Josh Soref asteriskteam at digium.com
Sun Nov 7 00:21:34 CDT 2021


Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/17290 )


Change subject: spelling: variable
......................................................................

spelling: variable

Change-Id: Ic1332f94db58fd052844c01a928975b02db25b62
---
M CHANGES
M apps/app_externalivr.c
M channels/iax2/include/parser.h
M include/asterisk/res_fax.h
M main/astmm.c
M res/res_pjsip_config_wizard.c
6 files changed, 7 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/90/17290/1

diff --git a/CHANGES b/CHANGES
index 47ff03c..0991b6f 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6022,7 +6022,7 @@
  * Added DYNAMIC_PEERNAME which holds the unique channel name on the other side
    and is set when a dynamic feature is triggered.
  * Added PARKINGLOT which can be used with parkeddynamic feature.conf option
-   to dynamically create a new parking lot matching the value this varible is
+   to dynamically create a new parking lot matching the value this variable is
    set to.
  * Added PARKINGDYNAMIC which represents the template parkinglot defined in
    features.conf that should be the base for dynamic parkinglots.
diff --git a/apps/app_externalivr.c b/apps/app_externalivr.c
index 6cb3bb6..f3cd095 100644
--- a/apps/app_externalivr.c
+++ b/apps/app_externalivr.c
@@ -101,7 +101,7 @@
 #define EIVR_CMD_APND 'A' /* append to prompt queue */
 #define EIVR_CMD_DTMF 'D' /* send DTMF */
 #define EIVR_CMD_EXIT 'E' /* exit */
-#define EIVR_CMD_GET  'G' /* get channel varable(s) */
+#define EIVR_CMD_GET  'G' /* get channel variable(s) */
 #define EIVR_CMD_HGUP 'H' /* hangup */
 #define EIVR_CMD_IRPT 'I' /* interrupt */
 #define EIVR_CMD_LOG  'L' /* log message */
@@ -109,7 +109,7 @@
 #define EIVR_CMD_PARM 'P' /* return supplied params */
 #define EIVR_CMD_SQUE 'S' /* (re)set prompt queue */
 #define EIVR_CMD_ANS  'T' /* answer channel */
-#define EIVR_CMD_SVAR 'V' /* set channel varable(s) */
+#define EIVR_CMD_SVAR 'V' /* set channel variable(s) */
 #define EIVR_CMD_XIT  'X' /* exit **deprecated** */
 
 #define EXTERNALIVR_PORT 2949
diff --git a/channels/iax2/include/parser.h b/channels/iax2/include/parser.h
index cd64f35..bba985e 100644
--- a/channels/iax2/include/parser.h
+++ b/channels/iax2/include/parser.h
@@ -128,7 +128,7 @@
 	int iseqno;
 	/*! Retransmission ID */
 	int retrans;
-	/*! is this packet encrypted or not. if set this varible holds encryption methods*/
+	/*! is this packet encrypted or not. if set this variable holds encryption methods*/
 	int encmethods;
 	/*! store encrypt key */
 	ast_aes_encrypt_key ecx;
diff --git a/include/asterisk/res_fax.h b/include/asterisk/res_fax.h
index 14284cf..a83df8c 100644
--- a/include/asterisk/res_fax.h
+++ b/include/asterisk/res_fax.h
@@ -169,7 +169,7 @@
 	} option;
 	/*! override the minimum transmission rate with a channel variable */
 	unsigned int minrate;
-	/*! override the maximum transmission rate with a channel varialbe */
+	/*! override the maximum transmission rate with a channel variable */
 	unsigned int maxrate;
 	/*! our T.38 session parameters, if any */
 	struct ast_fax_t38_parameters our_t38_parameters;
diff --git a/main/astmm.c b/main/astmm.c
index 3aed47c..c327184 100644
--- a/main/astmm.c
+++ b/main/astmm.c
@@ -129,7 +129,7 @@
 	 * \brief Location of the requested malloc block to return.
 	 *
 	 * \note Must have the same alignment that malloc returns.
-	 * i.e., It is suitably aligned for any kind of varible.
+	 * i.e., It is suitably aligned for any kind of variable.
 	 */
 	unsigned char data[0] __attribute__((aligned));
 };
diff --git a/res/res_pjsip_config_wizard.c b/res/res_pjsip_config_wizard.c
index 4c1c59b..a96936e 100644
--- a/res/res_pjsip_config_wizard.c
+++ b/res/res_pjsip_config_wizard.c
@@ -1130,7 +1130,7 @@
 
 		search = ast_variable_new("@pjsip_wizard", id, "");
 		if (!search) {
-			ast_log(LOG_ERROR, "Unable to allocate memory for vaiable '@pjsip_wizard'.\n");
+			ast_log(LOG_ERROR, "Unable to allocate memory for variable '@pjsip_wizard'.\n");
 			break;
 		}
 		otw->wizard->retrieve_multiple(sorcery, otw->wizard_data, object_type, existing, search);

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17290
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ic1332f94db58fd052844c01a928975b02db25b62
Gerrit-Change-Number: 17290
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/14edfd2a/attachment-0001.html>


More information about the asterisk-code-review mailing list