[Asterisk-code-review] file.c: Don't emit warnings on winks. (asterisk[20])

Friendly Automation asteriskteam at digium.com
Tue Nov 8 08:13:58 CST 2022


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/19540 )

Change subject: file.c: Don't emit warnings on winks.
......................................................................

file.c: Don't emit warnings on winks.

Adds an ignore case for wink since it should
pass through with no warning.

ASTERISK-30290 #close

Change-Id: Ieb7e34daa717357ac5c93efb0059f6c2321f16ad
---
M main/file.c
1 file changed, 15 insertions(+), 0 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit




diff --git a/main/file.c b/main/file.c
index 8bb40da..972f234 100644
--- a/main/file.c
+++ b/main/file.c
@@ -1744,6 +1744,7 @@
 				case AST_CONTROL_UPDATE_RTP_PEER:
 				case AST_CONTROL_PVT_CAUSE_CODE:
 				case AST_CONTROL_FLASH:
+				case AST_CONTROL_WINK:
 				case -1:
 					/* Unimportant */
 					break;

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

Gerrit-Project: asterisk
Gerrit-Branch: 20
Gerrit-Change-Id: Ieb7e34daa717357ac5c93efb0059f6c2321f16ad
Gerrit-Change-Number: 19540
Gerrit-PatchSet: 1
Gerrit-Owner: N A <asterisk at phreaknet.org>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221108/212632b6/attachment.html>


More information about the asterisk-code-review mailing list