[Asterisk-cvs] asterisk/res res_musiconhold.c,1.17,1.18
jeremy at lists.digium.com
jeremy at lists.digium.com
Sat Jan 10 21:39:45 CST 2004
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv15867
Modified Files:
res_musiconhold.c
Log Message:
Don't core on mpg123. Bug #671
Index: res_musiconhold.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- res_musiconhold.c 4 Nov 2003 23:23:00 -0000 1.17
+++ res_musiconhold.c 11 Jan 2004 03:31:30 -0000 1.18
@@ -586,7 +586,7 @@
if (moh->pid) {
ast_log(LOG_DEBUG, "killing %d!\n", moh->pid);
stime = time(NULL);
- kill(moh->pid, SIGABRT);
+ kill(moh->pid, SIGKILL);
while ((bytes = read(moh->srcfd, buff, 8192)) && time(NULL) < stime + 5) {
tbytes = tbytes + bytes;
}
More information about the svn-commits
mailing list