]> git.ipfire.org Git - thirdparty/asterisk.git/commit
file.c: with "sounds_search_custom_dir = yes", search "custom" directory
authorAllan Nathanson <42244061+Allan-N@users.noreply.github.com>
Sun, 10 Aug 2025 17:21:53 +0000 (13:21 -0400)
committerAllan Nathanson <42244061+Allan-N@users.noreply.github.com>
Mon, 11 Aug 2025 13:53:16 +0000 (13:53 +0000)
commit80fd6508810585c7e5572a88691bb0e517145173
tree99f8d3842087828d56f567742a18078e8c09c9bf
parent0391c3f36eb436bffa84418983294689df796cd7
file.c: with "sounds_search_custom_dir = yes", search "custom" directory

With `sounds_search_custom_dir = yes`, we are supposed to search for sounds
in the `AST_DATA_DIR/sounds/custom` directory before searching the normal
directories.  Unfortunately, a recent change
(https://github.com/asterisk/asterisk/pull/1172) had a typo resulting in
the "custom" directory not being searched.  This change restores this
expected behavior.

Resolves: #1353
main/file.c