Skip to content
Snippets Groups Projects
Commit 8b79aba9 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

do this fix properly :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 4c2874b9
No related branches found
No related tags found
No related merge requests found
......@@ -778,8 +778,8 @@ static int moh_scan_files(struct mohclass *class) {
if ((strlen(files_dirent->d_name) < 4))
continue;
/* Skip standard license file - it is not audio */
if (!strcmp(files_dirent->d_name, "LICENSE"))
/* Skip files without extensions... they are not audio */
if (!strchr(files_dirent->d_name, '.'))
continue;
snprintf(filepath, sizeof(filepath), "%s/%s", class->dir, files_dirent->d_name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment