[Asterisk-code-review] spelling: existence (asterisk[master])
Josh Soref
asteriskteam at digium.com
Sun Nov 7 00:08:08 CDT 2021
Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/16923 )
Change subject: spelling: existence
......................................................................
spelling: existence
Change-Id: I16f100a53a1a82f23f7ab8f0fca691a271c38efd
---
M main/channel.c
M res/prometheus/pjsip_outbound_registrations.c
M res/res_corosync.c
M tests/test_media_cache.c
4 files changed, 7 insertions(+), 7 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/23/16923/1
diff --git a/main/channel.c b/main/channel.c
index a2458d6..fd9ca04 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -944,7 +944,7 @@
/*
* And now, since the channel structure is built, and has its name, let
- * the world know of its existance
+ * the world know of its existence
*/
ast_channel_stage_snapshot_done(tmp);
diff --git a/res/prometheus/pjsip_outbound_registrations.c b/res/prometheus/pjsip_outbound_registrations.c
index add3648..77dd870 100644
--- a/res/prometheus/pjsip_outbound_registrations.c
+++ b/res/prometheus/pjsip_outbound_registrations.c
@@ -233,7 +233,7 @@
};
void *obj;
- ast_debug(1, "Checking for the existance of registration metric %s\n", wrapper->key);
+ ast_debug(1, "Checking for the existence of registration metric %s\n", wrapper->key);
obj = ast_sorcery_retrieve_by_fields(ast_sip_get_sorcery(), object_type, AST_RETRIEVE_FLAG_DEFAULT, &search_fields);
if (!obj) {
ast_debug(1, "Registration metric '%s' not found; purging with prejudice\n", wrapper->key);
diff --git a/res/res_corosync.c b/res/res_corosync.c
index f89ac69..9469616 100644
--- a/res/res_corosync.c
+++ b/res/res_corosync.c
@@ -750,12 +750,12 @@
ast_debug(5, "send_cluster_notify rdlock\n");
if ((cs_err = corosync_cfg_local_get(cfg_handle, &node_id)) != CS_OK) {
- ast_log(LOG_WARNING, "Failed to extract Corosync node ID for this node. Not informing cluster of existance.\n");
+ ast_log(LOG_WARNING, "Failed to extract Corosync node ID for this node. Not informing cluster of existence.\n");
return;
}
if (((cs_err = corosync_cfg_get_node_addrs(cfg_handle, node_id, 1, &num_addrs, &corosync_addr)) != CS_OK) || (num_addrs < 1)) {
- ast_log(LOG_WARNING, "Failed to get local Corosync address. Not informing cluster of existance.\n");
+ ast_log(LOG_WARNING, "Failed to get local Corosync address. Not informing cluster of existence.\n");
return;
}
@@ -766,7 +766,7 @@
sa = (struct sockaddr *)corosync_addr.address;
sa_len = (size_t)corosync_addr.address_length;
if ((res = getnameinfo(sa, sa_len, buf, sizeof(buf), NULL, 0, NI_NUMERICHOST))) {
- ast_log(LOG_WARNING, "Failed to determine name of local Corosync address: %s (%d). Not informing cluster of existance.\n",
+ ast_log(LOG_WARNING, "Failed to determine name of local Corosync address: %s (%d). Not informing cluster of existence.\n",
gai_strerror(res), res);
return;
}
diff --git a/tests/test_media_cache.c b/tests/test_media_cache.c
index c35e43f..2550b6f 100644
--- a/tests/test_media_cache.c
+++ b/tests/test_media_cache.c
@@ -139,7 +139,7 @@
case TEST_INIT:
info->name = __func__;
info->category = CATEGORY;
- info->summary = "Test nominal existance of resources in the cache";
+ info->summary = "Test nominal existence of resources in the cache";
info->description =
"This test verifies that if a known resource is in the cache, "
"calling ast_media_cache_exists will return logical True. If "
@@ -167,7 +167,7 @@
case TEST_INIT:
info->name = __func__;
info->category = CATEGORY;
- info->summary = "Test off nominal existance of resources in the cache";
+ info->summary = "Test off nominal existence of resources in the cache";
info->description =
"This test verifies that checking for bad resources (NULL, bad "
"scheme, etc.) does not result in false positivies.";
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16923
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I16f100a53a1a82f23f7ab8f0fca691a271c38efd
Gerrit-Change-Number: 16923
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/fc812516/attachment-0001.html>
More information about the asterisk-code-review
mailing list