[asterisk-commits] kpfleming: trunk r43302 -
/trunk/res/res_musiconhold.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Sep 19 16:08:36 MST 2006
Author: kpfleming
Date: Tue Sep 19 18:08:35 2006
New Revision: 43302
URL: http://svn.digium.com/view/asterisk?rev=43302&view=rev
Log:
do this fix properly :-)
Modified:
trunk/res/res_musiconhold.c
Modified: trunk/res/res_musiconhold.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_musiconhold.c?rev=43302&r1=43301&r2=43302&view=diff
==============================================================================
--- trunk/res/res_musiconhold.c (original)
+++ trunk/res/res_musiconhold.c Tue Sep 19 18:08:35 2006
@@ -778,8 +778,8 @@
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);
More information about the asterisk-commits
mailing list