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

Josh Soref asteriskteam at digium.com
Sun Nov 7 00:16:20 CDT 2021


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


Change subject: spelling: retrieve
......................................................................

spelling: retrieve

Change-Id: I8112fd26c4b44c5f9fd949b9a13511d9d9eb08a7
---
M addons/ooh323c/src/ooSocket.h
M addons/ooh323c/src/ooq931.h
M include/asterisk/alaw.h
M include/asterisk/ulaw.h
M res/res_pjsip/config_transport.c
M res/res_pjsip_pubsub.c
6 files changed, 7 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/68/17168/1

diff --git a/addons/ooh323c/src/ooSocket.h b/addons/ooh323c/src/ooSocket.h
index e942df9..15df63d 100644
--- a/addons/ooh323c/src/ooSocket.h
+++ b/addons/ooh323c/src/ooSocket.h
@@ -369,7 +369,7 @@
 /* EXTERN int ooSocketConvertIpToNwAddr(char *inetIp, unsigned char *netIp); */
 
 /**
- * This function retrives the IP address of the local host.
+ * This function retrieves the IP address of the local host.
  *
  * @param pIPAddrs   Pointer to a char buffer in which local IP address will be
  *                   returned.
diff --git a/addons/ooh323c/src/ooq931.h b/addons/ooh323c/src/ooq931.h
index 57c0b3f..18c014b 100644
--- a/addons/ooh323c/src/ooq931.h
+++ b/addons/ooh323c/src/ooq931.h
@@ -418,7 +418,7 @@
 EXTERN int ooFreeQ931Message(OOCTXT* pctxt, Q931Message *q931Msg);
 
 /**
- * This function is invoked to retrive the outgoing message buffer for
+ * This function is invoked to retrieve the outgoing message buffer for
  * Q931 message
  *
  * @param call     Pointer to call for which outgoing Q931 message has to be
diff --git a/include/asterisk/alaw.h b/include/asterisk/alaw.h
index 0ef42be..dd56295 100644
--- a/include/asterisk/alaw.h
+++ b/include/asterisk/alaw.h
@@ -55,7 +55,7 @@
 /*! \brief Convert signed linear sample to sign-magnitude pair for a-Law */
 static inline void ast_alaw_get_sign_mag(short sample, unsigned *sign, unsigned *mag)
 {
-	/* It may look illogical to retrive the sign this way in both cases,
+	/* It may look illogical to retrieve the sign this way in both cases,
 	 * but this helps gcc eliminate the branch below and produces
 	 * faster code */
 	*sign = ((unsigned short)sample >> 8) & AST_ALAW_SIGN_BIT;
diff --git a/include/asterisk/ulaw.h b/include/asterisk/ulaw.h
index 0f3eae5..1dc744d 100644
--- a/include/asterisk/ulaw.h
+++ b/include/asterisk/ulaw.h
@@ -57,7 +57,7 @@
 /*! \brief convert signed linear sample to sign-magnitude pair for u-Law */
 static inline void ast_ulaw_get_sign_mag(short sample, unsigned *sign, unsigned *mag)
 {
-       /* It may look illogical to retrive the sign this way in both cases,
+       /* It may look illogical to retrieve the sign this way in both cases,
         * but this helps gcc eliminate the branch below and produces
         * faster code */
        *sign = ((unsigned short)sample >> 8) & AST_ULAW_SIGN_BIT;
diff --git a/res/res_pjsip/config_transport.c b/res/res_pjsip/config_transport.c
index 502ad5b..f6c365e 100644
--- a/res/res_pjsip/config_transport.c
+++ b/res/res_pjsip/config_transport.c
@@ -1682,7 +1682,7 @@
 	ast_sip_register_cli_formatter(cli_formatter);
 	ast_cli_register_multiple(cli_commands, ARRAY_LEN(cli_commands));
 
-	/* trigger load of transports from realtime by trying to revrieve them all */
+	/* trigger load of transports from realtime by trying to retrieve them all */
 	transports = ast_sorcery_retrieve_by_fields(sorcery, "transport", AST_RETRIEVE_FLAG_ALL | AST_RETRIEVE_FLAG_MULTIPLE, NULL);
 	ao2_cleanup(transports);
 
diff --git a/res/res_pjsip_pubsub.c b/res/res_pjsip_pubsub.c
index e62582f..a696ccc 100644
--- a/res/res_pjsip_pubsub.c
+++ b/res/res_pjsip_pubsub.c
@@ -1628,7 +1628,7 @@
 	expires = (ast_tvdiff_ms(persistence->expires, ast_tvnow()) / 1000);
 	if (expires <= 0) {
 		/* The subscription expired since we started recreating the subscription. */
-		ast_debug(3, "Expired subscription retrived from persistent store '%s' %s\n",
+		ast_debug(3, "Expired subscription retrieved from persistent store '%s' %s\n",
 			persistence->endpoint, persistence->tag);
 		ast_sorcery_delete(ast_sip_get_sorcery(), persistence);
 		ao2_ref(endpoint, -1);
@@ -1699,7 +1699,7 @@
 
 	/* If this subscription has already expired remove it */
 	if (ast_tvdiff_ms(persistence->expires, ast_tvnow()) <= 0) {
-		ast_debug(3, "Expired subscription retrived from persistent store '%s' %s\n",
+		ast_debug(3, "Expired subscription retrieved from persistent store '%s' %s\n",
 			persistence->endpoint, persistence->tag);
 		ast_sorcery_delete(ast_sip_get_sorcery(), persistence);
 		return 0;

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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I8112fd26c4b44c5f9fd949b9a13511d9d9eb08a7
Gerrit-Change-Number: 17168
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/28a7adac/attachment.html>


More information about the asterisk-code-review mailing list