[asterisk-commits] tilghman: branch 1.6.1 r234212 - in /branches/1.6.1: ./ res/res_musiconhold.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 10 12:58:03 CST 2009
Author: tilghman
Date: Thu Dec 10 12:57:59 2009
New Revision: 234212
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=234212
Log:
Merged revisions 234210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r234210 | tilghman | 2009-12-10 12:56:23 -0600 (Thu, 10 Dec 2009) | 2 lines
Missed a case that emits a WARNING where none is warranted.
........
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/res/res_musiconhold.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/res/res_musiconhold.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/res/res_musiconhold.c?view=diff&rev=234212&r1=234211&r2=234212
==============================================================================
--- branches/1.6.1/res/res_musiconhold.c (original)
+++ branches/1.6.1/res/res_musiconhold.c Thu Dec 10 12:57:59 2009
@@ -617,6 +617,9 @@
if (class->pid > 1) {
do {
if (killpg(class->pid, SIGHUP) < 0) {
+ if (errno == ESRCH) {
+ break;
+ }
ast_log(LOG_WARNING, "Unable to send a SIGHUP to MOH process?!!: %s\n", strerror(errno));
}
usleep(100000);
More information about the asterisk-commits
mailing list