mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
Merged revisions 181665 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r181665 | file | 2009-03-12 13:56:58 -0300 (Thu, 12 Mar 2009) | 9 lines 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/branches/1.6.1@181667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -567,7 +567,7 @@ static void *monmp3thread(void *data)
|
|||||||
}
|
}
|
||||||
res = 8 * MOH_MS_INTERVAL; /* 8 samples per millisecond */
|
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;
|
continue;
|
||||||
/* Read mp3 audio */
|
/* Read mp3 audio */
|
||||||
len = ast_codec_get_len(class->format, res);
|
len = ast_codec_get_len(class->format, res);
|
||||||
|
|||||||
Reference in New Issue
Block a user