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

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


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


Change subject: spelling: spied
......................................................................

spelling: spied

Change-Id: I76c58982767747d1ea6f7c5edac153c40fa9f6b8
---
M apps/app_chanspy.c
1 file changed, 4 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/06/17206/1

diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c
index e02f25d..c3a3f4d 100644
--- a/apps/app_chanspy.c
+++ b/apps/app_chanspy.c
@@ -899,7 +899,7 @@
 	signed char zero_volume = 0;
 	int waitms;
 	int res;
-	int num_spyed_upon = 1;
+	int num_spied_upon = 1;
 	struct ast_channel_iterator *iter = NULL;
 
 	if (ast_test_flag(flags, OPTION_EXIT)) {
@@ -926,7 +926,7 @@
 		struct ast_autochan *autochan = NULL, *next_autochan = NULL;
 		struct ast_channel *prev = NULL;
 
-		if (!ast_test_flag(flags, OPTION_QUIET) && num_spyed_upon) {
+		if (!ast_test_flag(flags, OPTION_QUIET) && num_spied_upon) {
 			res = ast_streamfile(chan, "beep", ast_channel_language(chan));
 			if (!res)
 				res = ast_waitstream(chan, "");
@@ -991,7 +991,7 @@
 
 		/* reset for the next loop around, unless overridden later */
 		waitms = 100;
-		num_spyed_upon = 0;
+		num_spied_upon = 0;
 
 		for (autochan = next_channel(iter, chan);
 			autochan;
@@ -1146,7 +1146,7 @@
 			}
 
 			res = channel_spy(chan, autochan, &volfactor, fd, user_options, flags, exitcontext);
-			num_spyed_upon++;
+			num_spied_upon++;
 
 			if (res == -1) {
 				ast_autochan_destroy(autochan);

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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I76c58982767747d1ea6f7c5edac153c40fa9f6b8
Gerrit-Change-Number: 17206
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/e69a4f3c/attachment.html>


More information about the asterisk-code-review mailing list