]> git.ipfire.org Git - thirdparty/asterisk.git/commit
func_frame_drop: Fix typo referencing wrong buffer
authorNaveen Albert <asterisk@phreaknet.org>
Tue, 11 Jan 2022 18:33:34 +0000 (18:33 +0000)
committerJoshua Colp <jcolp@sangoma.com>
Mon, 31 Jan 2022 14:54:44 +0000 (08:54 -0600)
commit1af8acaf4add026f74dcac4702180aec3ca7dadf
treec12e39cb6c074a3affe70b7f1de165eba2fbd178
parent304503c02b7d776c2e0547f6ad4f8e649c74cb6b
func_frame_drop: Fix typo referencing wrong buffer

In order to get around the issue of certain frames
having names that could overlap, func_frame_drop
surrounds names with commas for the purposes of
comparison.

The buffer is allocated and printed to properly,
but the original buffer is used for comparison.
In most cases, this wouldn't have had any effect,
but that was not the intention behind the buffer.
This updates the code to reference the modified
buffer instead.

ASTERISK-29854 #close

Change-Id: I430b52e14e712d0e62a23aa3b5644fe958b684a7
funcs/func_frame_drop.c