diff options
author | Joshua Colp <jcolp@digium.com> | 2009-03-12 16:56:58 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2009-03-12 16:56:58 +0000 |
commit | 815c56369f7272bc7180698528f75e36328e1dc3 (patch) | |
tree | 1d99138a48c29d7148f0bc40d83b510352bee2f2 /res | |
parent | e12265e5304d9f2c4a857f757b98c175c1f5f43e (diff) |
Merged revisions 181664 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r181664 | file | 2009-03-12 13:56:20 -0300 (Thu, 12 Mar 2009) | 2 lines
Fix incorrect usage of strncasecmp... I really meant to use strcasecmp.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@181665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r-- | res/res_musiconhold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index a9fdc2746..c6cfb9672 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -568,7 +568,7 @@ static void *monmp3thread(void *data) } res = 8 * MOH_MS_INTERVAL; /* 8 samples per millisecond */ } - if ((strncasecmp(class->dir, "http://", 7) && strncasecmp(class->dir, "nodir")) && AST_LIST_EMPTY(&class->members)) + if ((strncasecmp(class->dir, "http://", 7) && strcasecmp(class->dir, "nodir")) && AST_LIST_EMPTY(&class->members)) continue; /* Read mp3 audio */ len = ast_codec_get_len(class->format, res); |