mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
Minor fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -496,7 +496,7 @@ static int moh_register(char *classname, char *mode, char *param, char *miscargs
|
||||
if (!strcasecmp(mode, "mp3") || !strcasecmp(mode, "quietmp3") || !strcasecmp(mode, "httpmp3")) {
|
||||
if (!strcasecmp(mode, "quietmp3"))
|
||||
moh->quiet = 1;
|
||||
strncpy(moh->dir, param, sizeof(moh->dir));
|
||||
strncpy(moh->dir, param, sizeof(moh->dir) - 1);
|
||||
moh->srcfd = -1;
|
||||
#ifdef ZAPATA_MOH
|
||||
/* It's an MP3 Moh -- Open /dev/zap/pseudo for timing... Is
|
||||
|
Reference in New Issue
Block a user