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

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


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


Change subject: spelling: snapshot
......................................................................

spelling: snapshot

Change-Id: I9a60f5790a8762ccae9d770382fa561ccfed7e23
---
M include/asterisk/stasis.h
M main/cdr.c
M main/devicestate.c
M res/res_fax_spandsp.c
M res/res_stasis.c
M tests/test_voicemail_api.c
6 files changed, 10 insertions(+), 10 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/96/17196/1

diff --git a/include/asterisk/stasis.h b/include/asterisk/stasis.h
index e950ecc..25c9b30 100644
--- a/include/asterisk/stasis.h
+++ b/include/asterisk/stasis.h
@@ -1015,7 +1015,7 @@
  * \since 12.2.0
  *
  * \param entry Cache entry to calculate a new aggregate snapshot.
- * \param new_snapshot The shapshot that is being updated.
+ * \param new_snapshot The snapshot that is being updated.
  *
  * \note Return a ref bumped pointer from stasis_cache_entry_get_aggregate()
  * if a new aggregate could not be calculated because of error.
@@ -1042,7 +1042,7 @@
  *
  * \param topic The aggregate message may be published to this topic.
  *        It is the topic to which the cache itself is subscribed.
- * \param aggregate The aggregate shapshot message to publish.
+ * \param aggregate The aggregate snapshot message to publish.
  *
  * \note It is up to the function to determine if there is a better topic
  * the aggregate message should be published over.
diff --git a/main/cdr.c b/main/cdr.c
index 3840c64..7809cbc 100644
--- a/main/cdr.c
+++ b/main/cdr.c
@@ -1532,7 +1532,7 @@
 		struct ast_channel_snapshot *new_snapshot)
 {
 	cdr_object_update_cid(old_snapshot, new_snapshot);
-	ao2_t_replace(old_snapshot->snapshot, new_snapshot, "Swap CDR shapshot");
+	ao2_t_replace(old_snapshot->snapshot, new_snapshot, "Swap CDR snapshot");
 }
 
 /* BASE METHOD IMPLEMENTATIONS */
diff --git a/main/devicestate.c b/main/devicestate.c
index 9033047..b2cb551 100644
--- a/main/devicestate.c
+++ b/main/devicestate.c
@@ -780,7 +780,7 @@
  * \since 12.2.0
  *
  * \param cache_topic Caching topic the aggregate message may be published over.
- * \param aggregate The aggregate shapshot message to publish.
+ * \param aggregate The aggregate snapshot message to publish.
  *
  * \return Nothing
  */
@@ -807,7 +807,7 @@
  * \since 12.2.0
  *
  * \param entry Cache entry to calculate a new aggregate snapshot.
- * \param new_snapshot The shapshot that is being updated.
+ * \param new_snapshot The snapshot that is being updated.
  *
  * \note Return a ref bumped pointer from stasis_cache_entry_get_aggregate()
  * if a new aggregate could not be calculated because of error.
diff --git a/res/res_fax_spandsp.c b/res/res_fax_spandsp.c
index 030dfc0..56ac161 100644
--- a/res/res_fax_spandsp.c
+++ b/res/res_fax_spandsp.c
@@ -823,7 +823,7 @@
 	};
 
 #if SPANDSP_RELEASE_DATE >= 20081012
-	/* for spandsp shaphots 0.0.6 and higher */
+	/* for spandsp snapshot 0.0.6 and higher */
 	p->t38_core_state=&p->t38_gw_state.t38x.t38;
 #else
 	/* for spandsp release 0.0.5 */
@@ -938,7 +938,7 @@
 
 	if (p->ist38) {
 #if SPANDSP_RELEASE_DATE >= 20080725
-		/* for spandsp shaphots 0.0.6 and higher */
+		/* for spandsp snapshot 0.0.6 and higher */
 		p->t30_state = &p->t38_state.t30;
 		p->t38_core_state = &p->t38_state.t38_fe.t38;
 #else
@@ -948,7 +948,7 @@
 #endif
 	} else {
 #if SPANDSP_RELEASE_DATE >= 20080725
-		/* for spandsp shaphots 0.0.6 and higher */
+		/* for spandsp snapshot 0.0.6 and higher */
 		p->t30_state = &p->fax_state.t30;
 #else
 		/* for spandsp release 0.0.5 */
diff --git a/res/res_stasis.c b/res/res_stasis.c
index fb066ba..ba7d0b2 100644
--- a/res/res_stasis.c
+++ b/res/res_stasis.c
@@ -1484,7 +1484,7 @@
 
 				snapshot = ast_channel_snapshot_get_latest(ast_channel_uniqueid(chan));
 				if (!snapshot) {
-					ast_log(LOG_ERROR, "Could not get channel shapshot for '%s'\n",
+					ast_log(LOG_ERROR, "Could not get channel snapshot for '%s'\n",
 						ast_channel_name(chan));
 				} else {
 					struct ast_json *json_args;
diff --git a/tests/test_voicemail_api.c b/tests/test_voicemail_api.c
index 7767f7f..6c3099c 100644
--- a/tests/test_voicemail_api.c
+++ b/tests/test_voicemail_api.c
@@ -735,7 +735,7 @@
  * \internal
  * \brief Update the test snapshots with a new mailbox snapshot
  *
- * \param mailbox_snapshot The new mailbox shapshot to update the test snapshots with
+ * \param mailbox_snapshot The new mailbox snapshot to update the test snapshots with
  */
 static void test_vm_api_update_test_snapshots(struct ast_vm_mailbox_snapshot *mailbox_snapshot)
 {

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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I9a60f5790a8762ccae9d770382fa561ccfed7e23
Gerrit-Change-Number: 17196
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/86e2dda7/attachment.html>


More information about the asterisk-code-review mailing list