projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c2874b
)
do this fix properly :-)
author
Kevin P. Fleming
<kpfleming@digium.com>
Tue, 19 Sep 2006 23:08:35 +0000
(23:08 +0000)
committer
Kevin P. Fleming
<kpfleming@digium.com>
Tue, 19 Sep 2006 23:08:35 +0000
(23:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43302
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_musiconhold.c
patch
|
blob
|
history
diff --git
a/res/res_musiconhold.c
b/res/res_musiconhold.c
index
4082017
..
1305330
100644
(file)
--- a/
res/res_musiconhold.c
+++ b/
res/res_musiconhold.c
@@
-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);