[Asterisk-code-review] spelling: couldn't (asterisk[master])

Josh Soref asteriskteam at digium.com
Sun Nov 7 00:05:37 CDT 2021


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


Change subject: spelling: couldn't
......................................................................

spelling: couldn't

Change-Id: Ib8a94faedd93cee42a64887ec51f7dda0960d110
---
M channels/chan_mgcp.c
M res/res_calendar_ews.c
M res/res_pjsip_session.c
M res/res_rtp_asterisk.c
M tests/test_res_pjsip_session_caps.c
5 files changed, 7 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/42/16842/1

diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c
index 4e4cb95..3b3461c 100644
--- a/channels/chan_mgcp.c
+++ b/channels/chan_mgcp.c
@@ -1815,7 +1815,7 @@
 					found = 1;
 					break;
 				} else if (name && !strcasecmp(p->name, tmp)) {
-					ast_debug(1, "Coundn't determine subchannel, assuming current master %s@%s-%d\n",
+					ast_debug(1, "Couldn't determine subchannel, assuming current master %s@%s-%d\n",
 						p->name, g->name, p->sub->id);
 					sub = p->sub;
 					found = 1;
diff --git a/res/res_calendar_ews.c b/res/res_calendar_ews.c
index 2f7b21b..6092f18 100644
--- a/res/res_calendar_ews.c
+++ b/res/res_calendar_ews.c
@@ -199,7 +199,7 @@
 		ast_debug(3, "EWS: XML: <RootFolder>\n");
 		if (sscanf(ne_xml_get_attr(ctx->parser, atts, NULL, "TotalItemsInView"), "%u", &items) != 1) {
 			/* Couldn't read anything */
-			ne_xml_set_error(ctx->parser, "Could't read number of events.");
+			ne_xml_set_error(ctx->parser, "Couldn't read number of events.");
 			return NE_XML_ABORT;
 		}
 
diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c
index f4ee08d..7719904 100644
--- a/res/res_pjsip_session.c
+++ b/res/res_pjsip_session.c
@@ -4982,7 +4982,7 @@
 		/* if an already assigned handler reports a catastrophic error, fail */
 		res = handler->create_outgoing_sdp_stream(session, session_media, answer, remote, stream);
 		if (res < 0) {
-			SCOPE_EXIT_RTN_VALUE(-1, "Coudn't create sdp stream\n");
+			SCOPE_EXIT_RTN_VALUE(-1, "Couldn't create sdp stream\n");
 		}
 		SCOPE_EXIT_RTN_VALUE(0, "Had handler\n");
 	}
@@ -5000,7 +5000,7 @@
 		res = handler->create_outgoing_sdp_stream(session, session_media, answer, remote, stream);
 		if (res < 0) {
 			/* catastrophic error */
-			SCOPE_EXIT_RTN_VALUE(-1, "Coudn't create sdp stream\n");
+			SCOPE_EXIT_RTN_VALUE(-1, "Couldn't create sdp stream\n");
 		}
 		if (res > 0) {
 			/* Handled by this handler. Move to the next stream */
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index c7b30c4..0544e02 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -894,7 +894,7 @@
 	pj_bzero(*desc, sizeof(*desc));
 
 	if (pj_thread_register("Asterisk Thread", *desc, &thread) != PJ_SUCCESS) {
-		ast_log(LOG_ERROR, "Coudln't register thread with PJLIB.\n");
+		ast_log(LOG_ERROR, "Couldn't register thread with PJLIB.\n");
 	}
 	return;
 }
diff --git a/tests/test_res_pjsip_session_caps.c b/tests/test_res_pjsip_session_caps.c
index a97c214..cc829e4 100644
--- a/tests/test_res_pjsip_session_caps.c
+++ b/tests/test_res_pjsip_session_caps.c
@@ -65,13 +65,13 @@
 
 	rc = ast_format_cap_update_by_allow_disallow(local, local_string, 1);
 	if (rc != 0) {
-		ast_test_status_update(test, "    %sxpected Failure: Coulldn't parse local codecs (%s)\n",
+		ast_test_status_update(test, "    %sxpected Failure: Couldn't parse local codecs (%s)\n",
 			expected_result == AST_TEST_FAIL ? "E" : "Une", local_string);
 		return expected_result == AST_TEST_FAIL ? AST_TEST_PASS : AST_TEST_FAIL;
 	}
 	rc = ast_format_cap_update_by_allow_disallow(remote, remote_string, 1);
 	if (rc != 0) {
-		ast_test_status_update(test, "    %sxpected Failure: Coulldn't parse remote codecs (%s)\n",
+		ast_test_status_update(test, "    %sxpected Failure: Couldn't parse remote codecs (%s)\n",
 			expected_result == AST_TEST_FAIL ? "E" : "Une", remote_string);
 		return expected_result == AST_TEST_FAIL ? AST_TEST_PASS : AST_TEST_FAIL;
 	}

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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ib8a94faedd93cee42a64887ec51f7dda0960d110
Gerrit-Change-Number: 16842
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/f3a6c23d/attachment-0001.html>


More information about the asterisk-code-review mailing list