[asterisk-commits] tilghman: branch 1.6.0 r255953 - in /branches/1.6.0: ./ main/asterisk.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Apr 2 15:20:32 CDT 2010
Author: tilghman
Date: Fri Apr 2 15:20:28 2010
New Revision: 255953
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=255953
Log:
Merged revisions 255952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r255952 | tilghman | 2010-04-02 15:19:01 -0500 (Fri, 02 Apr 2010) | 8 lines
Pass the PID of the Asterisk process, not the PID of the canary.
(closes issue #17065)
Reported by: globalnetinc
Patches:
astcanary.patch uploaded by makoto (license 38)
Tested by: frawd, globalnetinc
........
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/main/asterisk.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/main/asterisk.c?view=diff&rev=255953&r1=255952&r2=255953
==============================================================================
--- branches/1.6.0/main/asterisk.c (original)
+++ branches/1.6.0/main/asterisk.c Fri Apr 2 15:20:28 2010
@@ -3328,7 +3328,7 @@
close(fd);
}
ast_set_priority(0);
- snprintf(ppid, sizeof(ppid), "%d", (int) getpid());
+ snprintf(ppid, sizeof(ppid), "%d", (int) ast_mainpid);
execlp("astcanary", "astcanary", canary_filename, ppid, (char *)NULL);
More information about the asterisk-commits
mailing list