]> 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)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Mon, 11 Aug 2025 13:53:22 +0000 (13:53 +0000)
commit31571a5079658761a9108fdb760d8be9c802fe06
tree71541ffce6c0264147eee5d29f35a14fbab45a6d
parentc1f24b74d7781aa540afe40b820d59ce89049d76
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