]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Mon, 31 Jan 2022 14:35:11 +0000 (08:35 -0600)
commit5df5a70d3731ca3193184f0a29d9ea30a3300d6e
tree38a8774381a7a82c23b21d5d0e6c7cb2d7b9a8b2
parent9c9083b45a269ecef1d2621a519fce8cd1283ce7
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