]> git.ipfire.org Git - thirdparty/asterisk.git/commit
main/file.c: Don't throw error on flash event.
authorNaveen Albert <mail@interlinked.x10host.com>
Thu, 13 May 2021 15:13:55 +0000 (11:13 -0400)
committerJoshua Colp <jcolp@sangoma.com>
Mon, 17 May 2021 13:55:11 +0000 (08:55 -0500)
commit859cd2a56bf2666b64d2375d2035e407b3ac1f82
tree7968256b31e667e58a5099a6f3a253277af50eec
parent8f8b4e7e41c5c00e82b7436e74c8d67e0beae57e
main/file.c: Don't throw error on flash event.

AST_CONTROL_FLASH isn't accounted for in a switch statement in file.c
where it should be ignored. Adding this to the switch ensures a
warning isn't thrown on RFC2833 flash events, since nothing's amiss.

ASTERISK-29372

Change-Id: I4fa549bfb7ba1894a4044de999ea124877422fbc
main/file.c