mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Version 0.2.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -100,8 +100,9 @@ static pthread_mutex_t moh_lock = AST_MUTEX_INITIALIZER;
|
||||
static void child_handler(int sig)
|
||||
{
|
||||
int status;
|
||||
if (wait4(-1,&status, WNOHANG, NULL)<1)
|
||||
ast_log(LOG_NOTICE, "Huh? Child handler, but nobody there?\n");
|
||||
if (wait4(-1,&status, WNOHANG, NULL)<1)
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "Huh? Child handler, but nobody there?\n");
|
||||
}
|
||||
|
||||
static int spawn_mp3(struct mohclass *class)
|
||||
@@ -126,7 +127,9 @@ static int spawn_mp3(struct mohclass *class)
|
||||
argv[3] = "--mono";
|
||||
argv[4] = "-r";
|
||||
argv[5] = "8000";
|
||||
argc = 6;
|
||||
argv[6] = "-b";
|
||||
argv[7] = "2048";
|
||||
argc = 8;
|
||||
if (class->quiet) {
|
||||
argv[argc++] = "-f";
|
||||
argv[argc++] = "8192";
|
||||
|
Reference in New Issue
Block a user