when using moh files mode, don't look for a file past the number of files
authorRussell Bryant <russell@russellbryant.com>
Sat, 3 Jun 2006 17:04:51 +0000 (17:04 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 3 Jun 2006 17:04:51 +0000 (17:04 +0000)
commit61d295f18740695b3840440855a0ca0b928ebb95
tree8477592d6d084c4eb5321bc26d69c20b61a92fde
parent0e738a77b3c889c8177fbfe66ad09ca0e76da769
when using moh files mode, don't look for a file past the number of files
that have been loaded, or worse, past the size of the files array

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_musiconhold.c